aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2016-08-23 15:23:59 +0000
committerMister Oyster <oysterized@gmail.com>2017-04-13 12:34:00 +0200
commit24d9a6d297da4f5eaf26a84d5c239a23a03a61f0 (patch)
treeed148f6ece7e807b5774416ff096051d913b4800
parentb73a84db54fcb8b53c87283f05ee63e5d6accef6 (diff)
f2fs: fix non static symbol warning
Fixes the following sparse warning: fs/f2fs/data.c:969:12: warning: symbol 'f2fs_grab_bio' was not declared. Should it be static? Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
-rw-r--r--fs/f2fs/data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
index c7083f54c..6916c1b99 100644
--- a/fs/f2fs/data.c
+++ b/fs/f2fs/data.c
@@ -961,8 +961,8 @@ out:
return ret;
}
-struct bio *f2fs_grab_bio(struct inode *inode, block_t blkaddr,
- unsigned nr_pages)
+static struct bio *f2fs_grab_bio(struct inode *inode, block_t blkaddr,
+ unsigned nr_pages)
{
struct f2fs_sb_info *sbi = F2FS_I_SB(inode);
struct fscrypt_ctx *ctx = NULL;