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>
Sun, 8 Apr 2018 11:11:16 +0000 (04:11 -0700)
commit92223ccb699a9ea815ace3eb701515fc101631f5
treefd5be89ef85ab2abb2688a1e8365fd7b912401df
parentd8ecd46ca803d0fd629a34e949987e09ad1d91f6
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