Skip to content
Commit 451bccf9 authored by Chao Yu's avatar Chao Yu Committed by Ij Israfil
Browse files

f2fs: fix error path handling in truncate_dnode()



[ Upstream commit 0135c482fa97e2fd8245cb462784112a00ed1211 ]

If truncate_node() fails in truncate_dnode(), it missed to call
f2fs_put_page(), fix it.

Fixes: 7735730d39d7 ("f2fs: fix to propagate error from __get_meta_page()")
Signed-off-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarimprobir <ghosh_probir@yahoo.com>
Signed-off-by: ij-israfil <israfilkhan494gmail.com>
parent 5aa65f5d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment