Jaegeuk Kim 5deb82671a 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>
2013-06-07 13:21:37 +09:00
..
2013-04-09 14:13:05 -04:00
2012-12-11 13:43:42 +09:00
2013-05-28 15:03:05 +09:00
2013-04-26 10:35:03 +09:00
2013-05-28 15:03:03 +09:00
2012-12-11 13:43:43 +09:00
2012-12-11 13:43:42 +09:00
2013-05-28 15:03:03 +09:00
2012-12-11 13:43:42 +09:00