]> git.karo-electronics.de Git - karo-tx-linux.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)
commit29a17c00d4b1b8eab61b85b71cb5a83455a7dc5e
tree7133ee7e4cf2b3b54a22a96c8155e638ea3f4953
parent817b6c480e330a5325ed9acb0cef8143923a52de
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