diff options
author | Russ W. Knize <[email protected]> | 2013-09-24 09:40:57 -0500 |
---|---|---|
committer | Jaegeuk Kim <[email protected]> | 2013-09-25 17:59:32 +0900 |
commit | 2e5558f4a5cf16a7394fd5770087303db8912c66 (patch) | |
tree | 08bde9e64eaab5f9154596cf83979b03cc526861 /lib/cpu-notifier-error-inject.c | |
parent | 52ab956000214aa111254e52e5eac3d91bd7cf4b (diff) |
f2fs: account for orphan inodes during recovery
During recovery, orphan inodes are deleted via truncate_hole().
These orphans are added by recover_dentry() via f2fs_delete_entry().
However, f2fs_delete_entry() adds them via add_orphan_inode()
without calling acquire_orphan_inode() first. This prevents the
counters from being incremented properly, which causes them to
underflow when remove_orphan_inode() is called later on.
Signed-off-by: Russ Knize <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions