mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-07-08 18:13:59 +02:00
4b3d568d40
[ Upstream commita798ff17cd] During gc_data_segment(), if inode state is abnormal, it missed to call iput(), fix it. Fixes:b73e52824c("f2fs: reposition unlock_new_inode to prevent accessing invalid inode") Fixes:9056d6489f("f2fs: fix to do sanity check on inode type during garbage collection") Signed-off-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>