git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d61658
)
block: fix bugs in bio-integrity mempool usage
author
Chuck Ebbert
<cebbert@redhat.com>
Sat, 30 Jan 2010 19:28:19 +0000
(20:28 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Sat, 30 Jan 2010 19:28:19 +0000
(20:28 +0100)
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 <cebbert@redhat.com>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/bio-integrity.c
patch
|
blob
|
history
diff --cc
fs/bio-integrity.c
Simple merge