summaryrefslogtreecommitdiff
path: root/fs/exofs/sys.c
diff options
context:
space:
mode:
authorRuss W. Knize <rknize@gmail.com>2013-09-24 09:40:57 -0500
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2013-09-25 17:59:32 +0900
commit2e5558f4a5cf16a7394fd5770087303db8912c66 (patch)
tree08bde9e64eaab5f9154596cf83979b03cc526861 /fs/exofs/sys.c
parent52ab956000214aa111254e52e5eac3d91bd7cf4b (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 <rknize@motorola.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/exofs/sys.c')
0 files changed, 0 insertions, 0 deletions