diff options
author | Jaegeuk Kim | 2013-07-22 15:12:56 +0200 |
---|---|---|
committer | Jaegeuk Kim | 2013-07-30 08:17:03 +0200 |
commit | f0947e5ccedb749b2f701aa5279cd8f848a720a1 (patch) | |
tree | c2c2f6fd66b2aac9d4d6d55f7cc23cd9790305e5 /fs/ceph/export.c | |
parent | f2fs: update file name in the inode block during f2fs_rename (diff) | |
download | kernel-qcow2-linux-f0947e5ccedb749b2f701aa5279cd8f848a720a1.tar.gz kernel-qcow2-linux-f0947e5ccedb749b2f701aa5279cd8f848a720a1.tar.xz kernel-qcow2-linux-f0947e5ccedb749b2f701aa5279cd8f848a720a1.zip |
f2fs: fix i_name during f2fs_sync_file
As similar as the i_pino fix, i_name also should be fixed when i_nlink is 1.
The errorneous scenario is like this.
1. touch test1
2. link test1 test2
3. unlink test2
4. fsync test1
After this, i_name should be test1.
CC: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/ceph/export.c')
0 files changed, 0 insertions, 0 deletions