summaryrefslogtreecommitdiff
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2014-06-06 22:05:03 +0400
committerJaegeuk Kim <jaegeuk@kernel.org>2014-06-06 22:18:36 +0400
commit86928f984e8b166fcd0c7c241501bc00f53eb623 (patch)
tree15ac0986725b469160baae2ed0fb1d598a63e996 /fs/f2fs/f2fs.h
parent6fa1df533a93161c54c987bbffaadf03563aa78d (diff)
downloadlinux-86928f984e8b166fcd0c7c241501bc00f53eb623.tar.xz
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 <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
0 files changed, 0 insertions, 0 deletions