Li Zefan 306424cc88 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 <lizf@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
2011-12-15 10:50:37 -05:00
..
2011-07-26 16:49:47 -07:00
2008-09-25 11:04:06 -04:00
2010-12-22 23:15:47 +08:00
2011-10-20 18:10:50 +02:00
2011-11-10 20:45:05 -05:00
2011-06-17 14:54:18 -04:00
2011-05-28 07:00:39 -04:00
2011-11-20 07:21:14 -05:00