Files
linux-stable-mirror/fs/f2fs
Chao Yu 4b3d568d40 f2fs: fix to add missing iput() in gc_data_segment()
[ Upstream commit a798ff17cd ]

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>
2024-06-12 11:03:42 +02:00
..
2024-06-12 11:03:37 +02:00
2024-06-12 11:03:37 +02:00
2024-06-12 11:03:37 +02:00
2024-01-10 17:10:30 +01:00
2024-06-12 11:03:37 +02:00
2024-06-12 11:03:37 +02:00
2024-01-10 17:10:30 +01:00
2024-06-12 11:03:37 +02:00
2024-01-10 17:10:30 +01:00