diff options
author | Christoph Hellwig <hch@infradead.org> | 2014-02-10 10:35:22 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-02-10 10:35:22 +1100 |
commit | fe60a8a0919eeee862054137fed49f00b710d9cd (patch) | |
tree | d4dd5f712971d23d7fcb356faec259e058c3f06e /drivers/message/Makefile | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) | |
download | linux-fe60a8a0919eeee862054137fed49f00b710d9cd.tar.bz2 |
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 'drivers/message/Makefile')
0 files changed, 0 insertions, 0 deletions