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>
Showing
- fs/xfs/linux-2.6/xfs_acl.c 1 addition, 1 deletionfs/xfs/linux-2.6/xfs_acl.c
- fs/xfs/linux-2.6/xfs_file.c 1 addition, 1 deletionfs/xfs/linux-2.6/xfs_file.c
- fs/xfs/linux-2.6/xfs_iops.c 439 additions, 1 deletionfs/xfs/linux-2.6/xfs_iops.c
- fs/xfs/xfs_vnodeops.c 1 addition, 425 deletionsfs/xfs/xfs_vnodeops.c
- fs/xfs/xfs_vnodeops.h 2 additions, 1 deletionfs/xfs/xfs_vnodeops.h
Loading
Please register or sign in to comment