From: Russ W. Knize Date: Tue, 24 Sep 2013 14:40:57 +0000 (-0500) Subject: f2fs: account for orphan inodes during recovery X-Git-Tag: v3.13-rc1~113^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e5558f4a5cf16a7394fd5770087303db8912c66;p=pandora-kernel.git 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 Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed