git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fa1df5
)
f2fs: avoid not to call remove_dirty_inode
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Fri, 6 Jun 2014 18:05:03 +0000
(
03:05
+0900)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Fri, 6 Jun 2014 18:18:36 +0000
(
03:18
+0900)
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>
fs/f2fs/recovery.c
patch
|
blob
|
history
diff --cc
fs/f2fs/recovery.c
Simple merge