summaryrefslogtreecommitdiff
path: root/kernel/task_work.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2015-06-22 03:04:42 +0300
committerDave Chinner <david@fromorbit.com>2015-06-22 03:04:42 +0300
commit72d552854b96b3e2a2c547a5e5a798a17dfda650 (patch)
tree4b50e956385d7bc05dd58de89d4401ca7d6a63e7 /kernel/task_work.c
parent50adbcb4c4e6c94b3acaad2a5854b6ca57402115 (diff)
downloadlinux-72d552854b96b3e2a2c547a5e5a798a17dfda650.tar.xz
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>
Diffstat (limited to 'kernel/task_work.c')
0 files changed, 0 insertions, 0 deletions