OSDN Git Service

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)
commitc91c46c12768daac8486dff0f74bc52c2ec974cd
tree0b78f2f48b2c33de0e0bc5bc3bfc3a96e2c906be
parent0c3d88dfcedf92b28d759182ecb33f2808dc3e59
xfs: add xfs_setattr_time

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