[lkml]   [2011]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH v2 0/2] vfs: truncate bug fixes
    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?

     \ /
      Last update: 2011-12-22 10:13    [W:0.019 / U:22.652 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site