]> git.karo-electronics.de Git - mv-sheeva.git/commit
Staging: hv: Zero out the request structure on allocation
authorK. Y. Srinivasan <kys@microsoft.com>
Wed, 6 Apr 2011 18:25:39 +0000 (11:25 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Apr 2011 20:32:06 +0000 (13:32 -0700)
commitc7a9a4847ea19d9578c8c3e81bc5ecb4adbaeb62
tree4f1d2ab1037a553e9013b9b7a126b37491ed77eb
parenta617e395de55762f337f4d9002a3408d7e9be381
Staging: hv: Zero out the request structure on allocation

As part of the cleanup of the I/O request structure, allocate them zeroed
out. This fixes a bug that was introduced in the patch-set titled:
Staging: hv: Cleanup-storage-drivers-phase-II.
A corrected version of this patch-set was sent out earlier, however
the earlier (buggy) version of this patch-set was already applied.
This patch fixes the problem.

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