commit | 72d552854b96b3e2a2c547a5e5a798a17dfda650 | [log] [tgz] |
---|---|---|
author | Dave Chinner <dchinner@redhat.com> | Mon Jun 22 10:04:42 2015 +1000 |
committer | Dave Chinner <david@fromorbit.com> | Mon Jun 22 10:04:42 2015 +1000 |
tree | 4b50e956385d7bc05dd58de89d4401ca7d6a63e7 | |
parent | 50adbcb4c4e6c94b3acaad2a5854b6ca57402115 [diff] |
xfs: factor out free space extent length check The longest extent length checks in xfs_alloc_fix_freelist() are now essentially identical. Factor them out into a helper function, so we know they are checking exactly the same thing before and after we lock the AGF. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>