commit | 23bd0735cfdf5322170a9ef48c7d47c2e6567ba8 | [log] [tgz] |
---|---|---|
author | Dave Chinner <david@fromorbit.com> | Mon Feb 02 10:22:53 2015 +1100 |
committer | Dave Chinner <david@fromorbit.com> | Mon Feb 02 10:22:53 2015 +1100 |
tree | ee21ef48c72c9ccfe244b4673df70fd9fbb64329 | |
parent | d4388d3c0988ec00787ad1f8e63b5e2a6abef1dc [diff] |
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>