f2fs: clean up f2fs_sb_has_xxx functions
authorSheng Yong <shengyong1@huawei.com>
Tue, 6 Feb 2018 04:31:17 +0000 (12:31 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 12 Mar 2018 23:05:42 +0000 (08:05 +0900)
commitccd31cb28ff2113a2de96ebf19a02b3c920b9fd1
tree7ed62d77250e76d360863f9edd35270c50b92f4b
parent3bb09a0e7e807e2cb7a97e35d5075d0d82bd4085
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>
fs/f2fs/data.c
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/segment.c
fs/f2fs/super.c
fs/f2fs/sysfs.c