]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] ibmvscsi: avoid unnecessary use of kzalloc_pool
authorSage Weil <sage@newdream.net>
Mon, 3 Aug 2009 20:54:47 +0000 (13:54 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 22 Aug 2009 22:52:21 +0000 (17:52 -0500)
commit24d1f42f9acac38098287957a3be978c70f6c5ac
tree674973ce41d28e8046cdfa929781a192b30f0047
parentd10cdd81225179e1ba2a6add522f0c0550aa1fbb
[SCSI] ibmvscsi: avoid unnecessary use of kzalloc_pool

The allocated struct is manually zeroed after allocation, so avoid using
the (broken) kzalloc mempool (which does not re-zero previously used items
when they are returned to the pool).

Acked-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Sage Weil <sage@newdream.net>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/ibmvscsi/ibmvfc.c