Commit a798ff1
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: b73e528 ("f2fs: reposition unlock_new_inode to prevent accessing invalid inode")
Fixes: 9056d64 ("f2fs: fix to do sanity check on inode type during garbage collection")
Signed-off-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>1 parent f2526c5 commit a798ff1
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1554 | 1554 | | |
1555 | 1555 | | |
1556 | 1556 | | |
1557 | | - | |
1558 | | - | |
| 1557 | + | |
1559 | 1558 | | |
1560 | 1559 | | |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
| 1564 | + | |
| 1565 | + | |
1561 | 1566 | | |
1562 | 1567 | | |
1563 | 1568 | | |
| |||
0 commit comments