From: Martin K. Petersen Date: Thu, 6 Feb 2014 20:14:13 +0000 (-0500) Subject: block: Fix nr_vecs for inline integrity vectors X-Git-Tag: v3.14-rc3~22^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08778795;p=pandora-kernel.git block: Fix nr_vecs for inline integrity vectors Commit 9f060e2231ca changed the way we handle allocations for the integrity vectors. When the vectors are inline there is no associated slab and consequently bvec_nr_vecs() returns 0. Ensure that we check against BIP_INLINE_VECS in that case. Reported-by: David Milburn Tested-by: David Milburn Cc: stable@vger.kernel.org # v3.10+ Signed-off-by: Martin K. Petersen Signed-off-by: Jens Axboe --- Reading git-diff-tree failed