summaryrefslogtreecommitdiff
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorChao Yu <chao@kernel.org>2022-02-04 11:21:14 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2022-02-03 22:21:28 -0800
commit6d18762ed5cd549fde74fd0e05d4d87bac5a3beb (patch)
treef5a1a43327a4581174adf533093b8a9eea8864e3 /fs/f2fs/f2fs.h
parentb2e4a2b300e5e2042e8d92ec16fc124222b7ecc9 (diff)
downloadlinux-next-6d18762ed5cd549fde74fd0e05d4d87bac5a3beb.tar.gz
f2fs: fix to unlock page correctly in error path of is_alive()
As Pavel Machek reported in below link [1]: After commit 77900c45ee5c ("f2fs: fix to do sanity check in is_alive()"), node page should be unlock via calling f2fs_put_page() in the error path of is_alive(), otherwise, f2fs may hang when it tries to lock the node page, fix it. [1] https://lore.kernel.org/stable/20220124203637.GA19321@duo.ucw.cz/ Fixes: 77900c45ee5c ("f2fs: fix to do sanity check in is_alive()") Cc: <stable@vger.kernel.org> Reported-by: Pavel Machek <pavel@denx.de> Signed-off-by: Pavel Machek <pavel@denx.de> Signed-off-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
0 files changed, 0 insertions, 0 deletions