xfs: always log timestamp updates in xfs_setattr_size
authorChristoph Hellwig <hch@lst.de>
Fri, 8 Jul 2011 12:34:26 +0000 (14:34 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 8 Jul 2011 12:34:26 +0000 (14:34 +0200)
commit681b120018e3c7e2680c93e8188c5ee34215df2f
treeac9ac585405ce263d1dcb170b3e201e44688aa66
parentc4ed4243c40f97ed5b7b121777bbbc6aeaa722f0
xfs: always log timestamp updates in xfs_setattr_size

Get rid of the special case where we use unlogged timestamp updates for
a truncate to the current inode size, and just call xfs_setattr_nonsize
for it to treat it like a utimes calls.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/linux-2.6/xfs_iops.c