f2fs: check PageWriteback flag for ordered case
commitbae0ee7a767ceeea6d8e170da3f228fbc7480331
authorChao Yu <yuchao0@huawei.com>
Tue, 25 Dec 2018 09:43:42 +0000 (25 17:43 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 26 Dec 2018 23:16:56 +0000 (26 15:16 -0800)
tree10ddfd1f2249e5960dfebca3f7b4acebc3a0115e
parent88960068f25fcc3759455d85460234dcc9d43fef
f2fs: check PageWriteback flag for ordered case

For all ordered cases in f2fs_wait_on_page_writeback(), we need to
check PageWriteback status, so let's clean up to relocate the check
into f2fs_wait_on_page_writeback().

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
13 files changed:
fs/f2fs/checkpoint.c
fs/f2fs/data.c
fs/f2fs/dir.c
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/gc.c
fs/f2fs/inline.c
fs/f2fs/inode.c
fs/f2fs/node.c
fs/f2fs/node.h
fs/f2fs/recovery.c
fs/f2fs/segment.c
fs/f2fs/xattr.c