]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: separate xflags from xfs_ioctl_setattr
authorDave Chinner <dchinner@redhat.com>
Sun, 1 Feb 2015 23:14:25 +0000 (10:14 +1100)
committerDave Chinner <david@fromorbit.com>
Sun, 1 Feb 2015 23:14:25 +0000 (10:14 +1100)
commitd4d889bcdb839950cd5ff41f280aae9cdead1d1b
tree7133ee7e4cf2b3b54a22a96c8155e638ea3f4953
parent94eea25b87eacc4d1be082c36d7e05f027250050
xfs: separate xflags from xfs_ioctl_setattr

The setting of the extended flags is down through two separate
interfaces, but they are munged together into xfs_ioctl_setattr
and make that function far more complex than it needs to be.
Separate it out into a helper function along with all the other
common inode changes and transaction manipulations in
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