Staging: hv: storvsc: Use mempools to allocate struct storvsc_cmd_request
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 8 Nov 2011 17:01:40 +0000 (09:01 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 01:02:07 +0000 (17:02 -0800)
commit4e03e697c5446146318cdb6344af0060541cbc1c
treea975ba1b09cf55efaea5c68d4960637c77b4af1e
parent1c7dac3269e8dc77a1b6dc08b8a7fd6731e13b7f
Staging: hv: storvsc: Use mempools to allocate struct storvsc_cmd_request

We intend to use the storage driver to manage the root device.
To avoid deadlocks, use mempools to allocate struct storvsc_cmd_request.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/storvsc_drv.c