summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2014-02-10 00:35:22 +0100
committerDave Chinner <david@fromorbit.com>2014-02-10 00:35:22 +0100
commitfe60a8a0919eeee862054137fed49f00b710d9cd (patch)
treed4dd5f712971d23d7fcb356faec259e058c3f06e /security
parentLinus 3.14-rc1 (diff)
downloadlinux-fe60a8a0919eeee862054137fed49f00b710d9cd.tar.xz
linux-fe60a8a0919eeee862054137fed49f00b710d9cd.zip
xfs: ensure correct timestamp updates from truncate
The VFS doesn't set the proper ATTR_CTIME and ATTR_MTIME values for truncate, so filesystems have to manually add them. The introduction of xfs_setattr_time accidentally broke this special case an caused a regression in generic/313. Fix this by removing the local mask variable in xfs_setattr_size so that we only have a single place to keep the attribute information. cc: <stable@vger.kernel.org> Signed-off-by: Christoph Hellwig <hch@lst.de> Reported-by: Fengguang Wu <fengguang.wu@intel.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Jie Liu <jeff.liu@oracle.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions