aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log_cil.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2014-02-10 10:35:22 +1100
committerDave Chinner <david@fromorbit.com>2014-02-10 10:35:22 +1100
commitfe60a8a0919eeee862054137fed49f00b710d9cd (patch)
treed4dd5f712971d23d7fcb356faec259e058c3f06e /fs/xfs/xfs_log_cil.c
parentLinus 3.14-rc1 (diff)
downloadlinux-dev-fe60a8a0919eeee862054137fed49f00b710d9cd.tar.xz
linux-dev-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 'fs/xfs/xfs_log_cil.c')
0 files changed, 0 insertions, 0 deletions