xfs: split xfs_setattr
authorChristoph Hellwig <hch@lst.de>
Fri, 8 Jul 2011 12:34:23 +0000 (14:34 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 8 Jul 2011 12:34:23 +0000 (14:34 +0200)
commitc4ed4243c40f97ed5b7b121777bbbc6aeaa722f0
treefda6054305f357705687016906a1ca254018c2e7
parentdec58f1dfd30a3c3e9dadc808692f4e5cd922745
xfs: split xfs_setattr

Split up xfs_setattr into two functions, one for the complex truncate
handling, and one for the trivial attribute updates.  Also move both
new routines to xfs_iops.c as they are fairly Linux-specific.

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_acl.c
fs/xfs/linux-2.6/xfs_file.c
fs/xfs/linux-2.6/xfs_iops.c
fs/xfs/xfs_vnodeops.c
fs/xfs/xfs_vnodeops.h