From: Dave Chinner Date: Mon, 22 Jun 2015 00:04:42 +0000 (+1000) Subject: xfs: factor out free space extent length check X-Git-Tag: omap-for-v4.3/legacy-v2-signed~97^2~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72d552854b96b3e2a2c547a5e5a798a17dfda650;p=pandora-kernel.git 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 Reviewed-by: Brian Foster Signed-off-by: Dave Chinner --- Reading git-diff-tree failed