summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/xattr.c
diff options
context:
space:
mode:
authorJaegeuk Kim2013-05-28 02:19:22 +0200
committerJaegeuk Kim2013-05-28 08:03:05 +0200
commit6b8213d9a4ca0d7a02a38757068ba79cd96206f0 (patch)
tree54e025076a5828ec02cff72c579bea3f9d738fa9 /fs/f2fs/xattr.c
parentf2fs: iput only if whole data blocks are flushed (diff)
downloadkernel-qcow2-linux-6b8213d9a4ca0d7a02a38757068ba79cd96206f0.tar.gz
kernel-qcow2-linux-6b8213d9a4ca0d7a02a38757068ba79cd96206f0.tar.xz
kernel-qcow2-linux-6b8213d9a4ca0d7a02a38757068ba79cd96206f0.zip
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>
Diffstat (limited to 'fs/f2fs/xattr.c')
0 files changed, 0 insertions, 0 deletions