From: Chuck Ebbert Date: Sat, 30 Jan 2010 19:28:19 +0000 (+0100) Subject: block: fix bugs in bio-integrity mempool usage X-Git-Tag: v2.6.33-rc7~37^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e9432c267e4047db98b9d4fba95099c6effcef9;p=pandora-kernel.git block: fix bugs in bio-integrity mempool usage Fix two bugs in the bio integrity code: use_bip_pool() always returns 0 because it checks against the wrong limit, causing the mempool to be used only when regular allocation fails. When the mempool is used as a fallback we don't free the data properly. Signed-Off-By: Chuck Ebbert Acked-by: Martin K. Petersen Signed-off-by: Jens Axboe --- Reading git-diff-tree failed