diff options
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-05-28 09:59:27 +0900 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-05-28 15:03:06 +0900 |
commit | afc3eda2a897b402e59f42f22eb89bba52297dd3 (patch) | |
tree | 26763b187f63785f9bc07e4ce0c14ea4ea0034f0 /tools | |
parent | 6b8213d9a4ca0d7a02a38757068ba79cd96206f0 (diff) |
f2fs: fix incorrect iputs during the dentry recovery
- iget/iput flow in the dentry recovery process
1. *dir* = f2fs_iget
2. set FI_DELAY_IPUT to *dir*
3. add *dir* to the dirty_dir_list
- __f2fs_add_link
- recover_dentry)
4. iput *dir* by remove_dirty_dir_inode
- sync_dirty_dir_inodes
- write_chekcpoint
If *dir*'s i_count is not 1 (i.e., root dir), remove_dirty_dir_inode is called
later and then iput is triggered again due to the FI_DELAY_IPUT flag.
So, let's unset the flag properly once iput is triggered.
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions