From: K. Y. Srinivasan Date: Sat, 27 Aug 2011 18:31:09 +0000 (-0700) Subject: Staging: hv: storvsc: Get rid of the reference counting in struct storvsc_device X-Git-Tag: v3.2-rc1~169^2^2~853 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e6f4d069f102b6a49433943cf37e3bdc52e2314;p=pandora-kernel.git Staging: hv: storvsc: Get rid of the reference counting in struct storvsc_device Get rid of the reference counting in struct storvsc_device. We manage the lifecycle with the following logic: If the device is marked for destruction, we dot allow any outgoing traffic on the device. Incoming traffic is allowed only to drain pending outgoing traffic. Note that while the upper level code in Linux deals with outstanding I/Os, we may have situations on Hyper-V where some book keeping messages are sent out that the upper level Linux code may not be aware of. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed