Chao Yu a798ff17cd f2fs: fix to add missing iput() in gc_data_segment()
During gc_data_segment(), if inode state is abnormal, it missed to call
iput(), fix it.

Fixes: b73e52824c89 ("f2fs: reposition unlock_new_inode to prevent accessing invalid inode")
Fixes: 9056d6489f5a ("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>
2024-05-11 00:40:07 +00:00
..
2023-01-19 09:24:27 +01:00
2024-05-09 01:03:44 +00:00
2024-05-09 01:03:17 +00:00
2023-08-02 09:13:09 -06:00
2021-08-23 10:25:51 -07:00
2024-03-18 11:26:00 -07:00
2024-05-09 01:03:17 +00:00