From 86928f984e8b166fcd0c7c241501bc00f53eb623 Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim Date: Sat, 7 Jun 2014 03:05:03 +0900 Subject: [PATCH] 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-format-patch failed