xfs: add xfs_setattr_time
authorChristoph Hellwig <hch@infradead.org>
Mon, 18 Nov 2013 13:10:52 +0000 (05:10 -0800)
committerBen Myers <bpm@sgi.com>
Fri, 6 Dec 2013 23:26:19 +0000 (17:26 -0600)
Split out a xfs_setattr_time helper to share code between truncate and
regular setattr similar to xfs_setattr_mode.  I might also have another
caller growing for this in the near future.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_iops.c

Simple merge