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

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-04-03 15:19:30 +02:00
2024-05-25 16:21:31 +02:00
2024-02-05 20:12:58 +00:00
2024-06-12 11:03:04 +02:00
2023-09-13 09:43:05 +02:00
2024-02-23 09:12:45 +01:00
2023-09-23 11:11:10 +02:00
2024-03-26 18:20:28 -04:00
2023-08-30 16:11:10 +02:00