From: K. Y. Srinivasan Date: Mon, 28 Mar 2011 16:33:31 +0000 (-0700) Subject: Staging: hv: Get rid of the type field from struct hv_storvsc_request X-Git-Tag: v3.0-rc1~336^2~938 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12fbd4164ea1fa4a4a717d72a68e48d1cc0362a3;p=pandora-kernel.git Staging: hv: Get rid of the type field from struct hv_storvsc_request In preparation for consolidating all I/O request state, get rid of the type field from struct hv_storvsc_request and instead use the equivalent state in struct vmscsi_request - data_in field. In the current code there is a call to zero out the struct vstor_packet in stor_vsc_on_io_request(). So, to be able to directly set the state in the vstor_packet in blkvsc_drv.c and storvsc_drv.c, get rid of the call to zero out the packet in stor_vsc_on_io_request() and instead allocate the request structure that has been zeroed out. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed