f2fs: clean up f2fs_sb_has_##feature_name
authorChao Yu <yuchao0@huawei.com>
Wed, 24 Oct 2018 10:34:26 +0000 (18:34 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 2 Jan 2019 23:42:20 +0000 (15:42 -0800)
commitae61c5a145dc7e4a6d408a02e3598eb367810518
tree64b6ab2e811cba3e36265b4cc08d1ee37c8672e4
parent97b66f52a09501686298a3d2f00ece5e14c9eb7f
f2fs: clean up f2fs_sb_has_##feature_name

In F2FS_HAS_FEATURE(), we will use F2FS_SB(sb) to get sbi pointer to
access .raw_super field, to avoid unneeded pointer conversion, this
patch changes to F2FS_HAS_FEATURE() accept sbi parameter directly.

Just do cleanup, no logic change.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/inode.c
fs/f2fs/namei.c
fs/f2fs/node.c
fs/f2fs/recovery.c
fs/f2fs/segment.c
fs/f2fs/super.c
fs/f2fs/sysfs.c