Re: [PATCH] ext4: update c/mtime on truncate up

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

 



On Fri, Jul 24, 2015 at 02:56:38PM +0800, Eryu Guan wrote:
> Commit 3da40c7b0898 ("ext4: only call ext4_truncate when size <= isize")
> introduced a bug that c/mtime is not updated on truncate up.
> 
> Fix the issue by setting c/mtime explicitly in the truncate up case.
> 
> Note that ftruncate(2) is not affected, so you won't see this bug using
> truncate(1) and xfs_io(1).
> 
> Signed-off-by: Zirong Lang <zorro.lang@xxxxxxxxx>
> Signed-off-by: Eryu Guan <guaneryu@xxxxxxxxx>

Applied, thanks.

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



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux