f2fs: fix wrong __is_meta_io() macro
authorChao Yu <yuchao0@huawei.com>
Mon, 15 Apr 2019 07:26:31 +0000 (15:26 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 9 May 2019 04:23:07 +0000 (21:23 -0700)
commit6dc3a12663c8a99ef033287f48bbdd61b6b1979b
tree173efeabe67b6811263145bf4df2569aef237460
parentea6d7e72fea49402aa445345aade7a26b81732e3
f2fs: fix wrong __is_meta_io() macro

This patch changes codes as below:
- don't use is_read_io() as a condition to judge the meta IO.
- use .is_por to replace .is_meta to indicate IO is from recovery explicitly.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
fs/f2fs/data.c
fs/f2fs/f2fs.h