summaryrefslogtreecommitdiffstats
path: root/fs/f2fs
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2016-08-23 15:23:59 +0000
committerJaegeuk Kim <jaegeuk@kernel.org>2016-08-29 18:31:14 -0700
commit6a7a3aedd562838fd402cccb5ad07b8063a3582e (patch)
tree63929b4ff4fc3f1505d9b0400d1fb051a2aacef8 /fs/f2fs
parent69494229ba5ada1b5521e3111328e8fe585c78d7 (diff)
downloadop-kernel-dev-6a7a3aedd562838fd402cccb5ad07b8063a3582e.zip
op-kernel-dev-6a7a3aedd562838fd402cccb5ad07b8063a3582e.tar.gz
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>
Diffstat (limited to 'fs/f2fs')
-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 7d618a9..ced6beb 100644
--- a/fs/f2fs/data.c
+++ b/fs/f2fs/data.c
@@ -967,8 +967,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;
OpenPOWER on IntegriCloud