xfs: factor extsize hint checking out of xfs_ioctl_setattr
authorDave Chinner <dchinner@redhat.com>
Sun, 1 Feb 2015 23:22:20 +0000 (10:22 +1100)
committerDave Chinner <david@fromorbit.com>
Sun, 1 Feb 2015 23:22:20 +0000 (10:22 +1100)
commitd4388d3c0988ec00787ad1f8e63b5e2a6abef1dc
treef867bd4afd67499810e4d5b7a09339b45a4183ed
parent41c145271d79eae508321340b727d3e3c9a66664
xfs: factor extsize hint checking out of xfs_ioctl_setattr

The extent size hint change checking is fairly complex, so isolate
that into it's own function. This simplifies the logic flow of the
setattr code, making it easier to read.

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
This page took 0.024865 seconds and 5 git commands to generate.