]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
f2fs: fix error path of f2fs_submit_page_read()
authorChao Yu <chao@kernel.org>
Mon, 21 Aug 2023 15:22:24 +0000 (23:22 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 23 Aug 2023 17:24:40 +0000 (10:24 -0700)
commit5118697f7215711f83c339cedab68399d6a01314
tree41308c2efb64e55b14733db5f2cfe273eb4bbdc8
parentc988794984135df31e6beedc53bd5d4ea8c8f788
f2fs: fix error path of f2fs_submit_page_read()

In error path of f2fs_submit_page_read(), it missed to call
iostat_update_and_unbind_ctx() and free bio_post_read_ctx, fix it.

Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c