md: avoid use of broken kzalloc mempool
authorSage Weil <sage@newdream.net>
Tue, 22 Sep 2009 00:02:55 +0000 (17:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Sep 2009 14:17:35 +0000 (07:17 -0700)
commitbbba809e96539672f775a3d70102657d05816a5b
tree6cd9f7b028316f50fa3a06d78cb11ee982c3d09b
parent72ff13b7036bc7923e0f2b5f4a724ca260d49aab
md: avoid use of broken kzalloc mempool

The kzalloc mempool does not re-zero items that have been used and then
returned to the pool.  Manually zero the allocated multipath_bh instead.

Acked-by: Neil Brown <neilb@suse.de>
Signed-off-by: Sage Weil <sage@newdream.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/multipath.c