kernel-ark/fs/f2fs
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
..
acl.c mode_t, whack-a-mole at 11... 2013-04-09 14:13:05 -04:00
acl.h f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00
checkpoint.c f2fs: iput only if whole data blocks are flushed 2013-05-28 15:03:05 +09:00
data.c f2fs: push some variables to debug part 2013-05-28 15:03:05 +09:00
debug.c f2fs: use list_for_each_entry rather than list_for_each_entry_safe 2013-05-28 15:03:02 +09:00
dir.c f2fs: remove unneeded initializations in f2fs_parent_dir 2013-05-28 15:03:05 +09:00
f2fs.h f2fs: push some variables to debug part 2013-05-28 15:03:05 +09:00
file.c f2fs: reuse the locked dnode page and its inode 2013-05-28 15:03:04 +09:00
gc.c f2fs: return proper error from start_gc_thread 2013-05-28 15:03:05 +09:00
gc.h f2fs: avoid frequent background GC 2013-04-26 10:35:03 +09:00
hash.c f2fs: unify string length declarations and usage 2012-12-28 11:27:53 +09:00
inode.c f2fs: fix wrong condition check 2013-05-28 15:03:03 +09:00
Kconfig f2fs: resolve build failures 2012-12-11 13:43:43 +09:00
Makefile f2fs: update Kconfig and Makefile 2012-12-11 13:43:42 +09:00
namei.c f2fs: use ihold 2013-05-28 15:03:04 +09:00
node.c f2fs: add debug msgs in the recovery routine 2013-05-28 15:03:02 +09:00
node.h f2fs: optimize several routines in node.h 2013-05-28 15:03:05 +09:00
recovery.c f2fs: fix dentry recovery routine 2013-05-28 15:03:05 +09:00
segment.c f2fs: push some variables to debug part 2013-05-28 15:03:05 +09:00
segment.h f2fs: modify the number of issued pages to merge IOs 2013-04-30 12:07:32 +09:00
super.c f2fs: add f2fs_readonly() 2013-05-28 15:03:03 +09:00
xattr.c f2fs: introduce a new global lock scheme 2013-04-09 18:21:18 +09:00
xattr.h f2fs: adjust kernel coding style 2012-12-11 13:43:42 +09:00