commit | 8f3d17ab060ec21cead88b81c65050a6ff77e9be | [log] [tgz] |
---|---|---|
author | Dave Chinner <dchinner@redhat.com> | Mon Feb 02 10:15:35 2015 +1100 |
committer | Dave Chinner <david@fromorbit.com> | Mon Feb 02 10:15:35 2015 +1100 |
tree | bc26a18e07bb3e0bf4fd44abd7903f9e60f25f79 | |
parent | 29a17c00d4b1b8eab61b85b71cb5a83455a7dc5e [diff] |
xfs: factor out xfs_ioctl_setattr transaciton preamble The setup of the transaction is done after a random smattering of checks and before another bunch of ioperations specific validity checks. Pull all the preamble out into a helper function that returns a transaction or error. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>