summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/segment.c
diff options
context:
space:
mode:
authorRuss W. Knize <rknize@gmail.com>2013-09-24 16:40:57 +0200
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2013-09-25 10:59:32 +0200
commit2e5558f4a5cf16a7394fd5770087303db8912c66 (patch)
tree08bde9e64eaab5f9154596cf83979b03cc526861 /fs/f2fs/segment.c
parentf2fs: don't GC or take an fs_lock from f2fs_initxattrs() (diff)
downloadlinux-2e5558f4a5cf16a7394fd5770087303db8912c66.tar.xz
linux-2e5558f4a5cf16a7394fd5770087303db8912c66.zip
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/f2fs/segment.c')
0 files changed, 0 insertions, 0 deletions