]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:47:53 +0000 (19:47 -0600)
commit21515a6f09c2146cd5a77da319465525bf1c4a24
tree6369d5a59b2ac1f972cd10c644b69ac4e00e7d51
parent751dca3be7aac42eea4598f1e3331337dca2097e
f2fs: fix to wait on page writeback before updating page

BugLink: https://bugs.launchpad.net/bugs/1836117
[ Upstream commit 6aead1617b3adf2b7e2c56f0f13e4e0ee42ebb4a ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
fs/f2fs/inline.c