Staging: hv: storvsc: Fix a bug in storvsc_command_completion()
authorK. Y. Srinivasan <kys@microsoft.com>
Thu, 1 Dec 2011 12:59:18 +0000 (04:59 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Dec 2011 18:27:00 +0000 (10:27 -0800)
commita768a76d55c2798bbd86b81f50ef740312d69935
treea0610e0b55a01fb57557168e36939a59b405bfbb
parent2781866484624fabbe373b95cfd20d44d2c9a69e
Staging: hv: storvsc: Fix a bug in storvsc_command_completion()

Fix a bug in storvsc_command_completion() that leaks memory when scatter/gather
lists are used on the "write" side.

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