Re: [PATCH] Btrfs: fix ctime update of on-disk inode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Christoph Hellwig wrote:
> On Fri, Dec 09, 2011 at 09:40:35AM +0800, Li Zefan wrote:
>> 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().
> 
> Can you submit this one as a test for xfstests?
> 

Sure.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux