commit | d37baa71273ba127f04d767aceb1e6e6802b6d8c | [log] [tgz] |
---|---|---|
author | Dave Chinner <dchinner@redhat.com> | Fri Jul 03 11:54:38 2015 +1000 |
committer | Dave Chinner <david@fromorbit.com> | Fri Jul 03 11:54:38 2015 +1000 |
tree | c7a9537374877183bab653eff07ac22c25c94c20 | |
parent | fe57a2e6233249aba0f5cadcd03183b19b8c159a [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>