Jaegeuk Kim 6b8213d9a4 f2fs: fix dentry recovery routine
The error scenario is:
1. create /a
(1.a link /a /b)
2. sync
3. unlinke /a
4. create /a
5. fsync /a
6. Sudden power-off

When the f2fs recovers the fsynced dentry, /a, we discover an exsiting dentry at
f2fs_find_entry() in recover_dentry().

In such the case, we should unlink the existing dentry and its inode
and then recover newly created dentry.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
2013-05-28 15:03:05 +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-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:04 +09:00
2013-05-28 15:03:05 +09:00
2013-05-28 15:03:03 +09:00
2012-12-11 13:43:42 +09:00