]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/scsi/ibmvscsi/ibmvfc.c
[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)
commitd68866927ddd0ed3145cb3fba4a1c07ca5e4709d
tree674973ce41d28e8046cdfa929781a192b30f0047
parentd430ddc660d2f9875125b4f13a2b9279313db529
[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