summaryrefslogtreecommitdiff
path: root/fs/f2fs/data.c
diff options
context:
space:
mode:
authorSheng Yong <shengyong1@huawei.com>2018-02-06 07:31:17 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2018-03-13 02:05:42 +0300
commitccd31cb28ff2113a2de96ebf19a02b3c920b9fd1 (patch)
tree7ed62d77250e76d360863f9edd35270c50b92f4b /fs/f2fs/data.c
parent3bb09a0e7e807e2cb7a97e35d5075d0d82bd4085 (diff)
downloadlinux-ccd31cb28ff2113a2de96ebf19a02b3c920b9fd1.tar.xz
f2fs: clean up f2fs_sb_has_xxx functions
This patch introduces F2FS_FEATURE_FUNCS to clean up the definitions of different f2fs_sb_has_xxx functions. Signed-off-by: Sheng Yong <shengyong1@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/data.c')
-rw-r--r--fs/f2fs/data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c
index 1c5b050ef900..6c3c9784de06 100644
--- a/fs/f2fs/data.c
+++ b/fs/f2fs/data.c
@@ -206,7 +206,7 @@ static inline void __submit_bio(struct f2fs_sb_info *sbi,
if (type != DATA && type != NODE)
goto submit_io;
- if (f2fs_sb_mounted_blkzoned(sbi->sb) && current->plug)
+ if (f2fs_sb_has_blkzoned(sbi->sb) && current->plug)
blk_finish_plug(current->plug);
start = bio->bi_iter.bi_size >> F2FS_BLKSIZE_BITS;