storvsc: Use the specified target ID in device lookup
The current code assumes that there is only one target in device lookup. Fix this bug. This will alow us to correctly handle hot reomoval of LUNs. Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com> Reviewed-by: NAlex Ng <alexng@microsoft.com> Tested-by: NVivek Yadav <vyadav@microsoft.com> Reviewed-by: NJohannes Thumshirn <jthumshirn@suse.de> Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
Showing
想要评论请 注册 或 登录