xfs: disaggregate xfs_ioctl_setattr
authorDave Chinner <dchinner@redhat.com>
Sun, 1 Feb 2015 23:15:56 +0000 (10:15 +1100)
committerDave Chinner <david@fromorbit.com>
Sun, 1 Feb 2015 23:15:56 +0000 (10:15 +1100)
commitf96291f6a39c2b60bede851efa059ba89e5f8277
tree12e598d3e71d0e0367a8114fabf1c37f7e359463
parent8f3d17ab060ec21cead88b81c65050a6ff77e9be
xfs: disaggregate xfs_ioctl_setattr

xfs_ioctl_setxflags doesn't need all of the functionailty in
xfs_ioctl_setattr() and now we have separate helper functions that
share the checks and modifications that xfs_ioctl_setxflags
requires. Hence disaggregate it from xfs_ioctl_setattr() to allow
further work to be done on xfs_ioctl_setattr.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_ioctl.c