Searched hist:"5 deb82671ae344b28b4e744020afcbc76df1779b" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/fs/f2fs/ |
H A D | recovery.c | diff 5deb82671ae344b28b4e744020afcbc76df1779b Wed Jun 05 03:42:45 CDT 2013 Jaegeuk Kim <jaegeuk.kim@samsung.com> f2fs: fix iget/iput of dir during recovery
It is possible that iput is skipped after iget during the recovery.
In recover_dentry(), dir = f2fs_iget(); ... if (de && inode->i_ino == le32_to_cpu(de->ino)) goto out;
In this case, this dir is not able to be added in dirty_dir_inode_list. The actual linking is done only when set_page_dirty() is called.
So let's add this newly got inode into the list explicitly, and put it at the end of the recovery routine.
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
|
H A D | checkpoint.c | diff 5deb82671ae344b28b4e744020afcbc76df1779b Wed Jun 05 03:42:45 CDT 2013 Jaegeuk Kim <jaegeuk.kim@samsung.com> f2fs: fix iget/iput of dir during recovery
It is possible that iput is skipped after iget during the recovery.
In recover_dentry(), dir = f2fs_iget(); ... if (de && inode->i_ino == le32_to_cpu(de->ino)) goto out;
In this case, this dir is not able to be added in dirty_dir_inode_list. The actual linking is done only when set_page_dirty() is called.
So let's add this newly got inode into the list explicitly, and put it at the end of the recovery routine.
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
|
H A D | f2fs.h | diff 5deb82671ae344b28b4e744020afcbc76df1779b Wed Jun 05 03:42:45 CDT 2013 Jaegeuk Kim <jaegeuk.kim@samsung.com> f2fs: fix iget/iput of dir during recovery
It is possible that iput is skipped after iget during the recovery.
In recover_dentry(), dir = f2fs_iget(); ... if (de && inode->i_ino == le32_to_cpu(de->ino)) goto out;
In this case, this dir is not able to be added in dirty_dir_inode_list. The actual linking is done only when set_page_dirty() is called.
So let's add this newly got inode into the list explicitly, and put it at the end of the recovery routine.
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
|