Re: [PATCH v2 0/2] vfs: truncate bug fixes

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

 



On Thu, Dec 22, 2011 at 10:55:24AM +0200, Dmitry Kasatkin wrote:
> When a file is opened with O_TRUNC or truncated with truncate()/ftruncate(),
> and then closed, iversion is not updated. This patch uses ATTR_OPEN flag,
> which is currently used to identify files opened with O_TRUNC,
> as an indication to increment iversion.
> Also it adds passing of this flag from do_sys_truncate and do_sys_ftruncate.
> To reflect real meaning, ATTR_OPEN is suggested to be renamed to ATTR_TRUNC.

Um...  Is there any difference left between that and ATTR_SIZE, then?
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux