summaryrefslogtreecommitdiff
path: root/fs/f2fs/super.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2018-01-05 12:41:20 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2018-01-17 02:39:59 +0300
commit94b1e10e745424fe6183023ff5a525bf7d12f779 (patch)
treeb6e9c59bcc540120402e51ccdbaa3a9ddf3c1427 /fs/f2fs/super.c
parent7e65be49ed94f89cbf5add7dadf6e338f0cc6e7b (diff)
downloadlinux-94b1e10e745424fe6183023ff5a525bf7d12f779.tar.xz
f2fs: make local functions static
Fixes the following sparse warnings: fs/f2fs/segment.c:887:6: warning: symbol '__check_sit_bitmap' was not declared. Should it be static? fs/f2fs/segment.c:1327:6: warning: symbol 'f2fs_wait_discard_bio' was not declared. Should it be static? fs/f2fs/super.c:1661:5: warning: symbol 'f2fs_get_projid' was not declared. Should it be static? Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/super.c')
-rw-r--r--fs/f2fs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index 4904d1644052..8b86a483ddd7 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@ -1691,7 +1691,7 @@ void f2fs_quota_off_umount(struct super_block *sb)
f2fs_quota_off(sb, type);
}
-int f2fs_get_projid(struct inode *inode, kprojid_t *projid)
+static int f2fs_get_projid(struct inode *inode, kprojid_t *projid)
{
*projid = F2FS_I(inode)->i_projid;
return 0;