f2fs: fix to wait on page writeback before updating page
authorChao Yu <yuchao0@huawei.com>
Thu, 21 Jun 2018 14:38:28 +0000 (22:38 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 5 Sep 2018 22:08:34 +0000 (15:08 -0700)
commit49be0b6829f722f8d2975ee823205c60e6b16465
tree9e8bcbdd7371d6e2fdf76c9f06c826c1df92ac54
parent7369fa7d5f18343fc628c2711a0904d2721ab39c
f2fs: fix to wait on page writeback before updating page

In error path of f2fs_move_rehashed_dirents, inode page could be writeback
state, so we should wait on inode page writeback before updating it.

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