]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: factor projid hint checking out of xfs_ioctl_setattr
authorDave Chinner <david@fromorbit.com>
Sun, 1 Feb 2015 23:22:53 +0000 (10:22 +1100)
committerDave Chinner <david@fromorbit.com>
Sun, 1 Feb 2015 23:22:53 +0000 (10:22 +1100)
commitdaf3b718b0893f368d09ee944b9fe41534412d43
treeee21ef48c72c9ccfe244b4673df70fd9fbb64329
parent059a1b391e504c3c92c2146250ec93f443af7573
xfs: factor projid hint checking out of xfs_ioctl_setattr

The project ID change checking is one of the few remaining open
coded checks in xfs_ioctl_setattr(). Factor it into a helper
function so that the setattr code mostly becomes a flow of check
and action helpers, making it easier to read and follow.

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