Revision 306424cc880a0fbbdc99eee1f43d056a301a180f authored by Li Zefan on 15 December 2011, 01:12:02 UTC, committed by Chris Mason on 15 December 2011, 15:50:37 UTC
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>
1 parent f8e9e0b
History
File Mode Size
Kconfig -rw-r--r-- 1.7 KB
Makefile -rw-r--r-- 334 bytes
autoprobe.c -rw-r--r-- 4.5 KB
chip.c -rw-r--r-- 16.4 KB
debug.h -rw-r--r-- 1.1 KB
devres.c -rw-r--r-- 2.6 KB
dummychip.c -rw-r--r-- 1.2 KB
generic-chip.c -rw-r--r-- 9.0 KB
handle.c -rw-r--r-- 4.6 KB
internals.h -rw-r--r-- 5.1 KB
irqdesc.c -rw-r--r-- 10.4 KB
irqdomain.c -rw-r--r-- 5.0 KB
manage.c -rw-r--r-- 35.5 KB
migration.c -rw-r--r-- 1.8 KB
pm.c -rw-r--r-- 2.2 KB
proc.c -rw-r--r-- 11.2 KB
resend.c -rw-r--r-- 1.9 KB
settings.h -rw-r--r-- 3.6 KB
spurious.c -rw-r--r-- 8.5 KB

back to top