diff options
| author | Li Zefan <[email protected]> | 2011-12-15 01:12:02 +0000 |
|---|---|---|
| committer | Chris Mason <[email protected]> | 2011-12-15 15:50:37 +0000 |
| commit | 306424cc880a0fbbdc99eee1f43d056a301a180f (patch) | |
| tree | 7c6b3b851fcd325c65724f3a7875311407998a6d /fs/btrfs/async-thread.c | |
| parent | btrfs: keep orphans for subvolume deletion (diff) | |
| download | kernel-306424cc880a0fbbdc99eee1f43d056a301a180f.tar.gz kernel-306424cc880a0fbbdc99eee1f43d056a301a180f.zip | |
Btrfs: fix ctime update of on-disk inode
To reproduce the bug:
# touch /mnt/tmp
# stat /mnt/tmp | grep Change
Change: 2011-12-09 09:32:23.412105981 +0800
# chattr +i /mnt/tmp
# stat /mnt/tmp | grep Change
Change: 2011-12-09 09:32:43.198105295 +0800
# umount /mnt
# mount /dev/loop1 /mnt
# stat /mnt/tmp | grep Change
Change: 2011-12-09 09:32:23.412105981 +0800
We should update ctime of in-memory inode before calling
btrfs_update_inode().
Signed-off-by: Li Zefan <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions
