From: Jaegeuk Kim Date: Fri, 6 Jun 2014 18:05:03 +0000 (+0900) Subject: f2fs: avoid not to call remove_dirty_inode X-Git-Tag: omap-for-v3.16/fixes-against-rc1~73^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86928f984e8b166fcd0c7c241501bc00f53eb623;p=pandora-kernel.git f2fs: avoid not to call remove_dirty_inode There is an errorneous case during the recovery like below. In recovery_dentry, 1) dir = f2fs_iget(); 2) mark the dir with FI_DELAY_IPUT 3) goto unmap_out After the end of recovery routine, there is no dirty dentries so the dir cannot be released by iput in remove_dirty_dir_inode. This patch fixes such the bug case by handling the iget and iput in the recovery_dentry procedure. Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed