[PATCH 3/3] mvsas: remove SCSI host before detaching from SAS transport

2015-11-05 Thread Jack Wang
commit cff549e4860f ("scsi: proper state checking and module refcount handling in scsi_device_get") the reference count of scsi device was changed, which could lead to when rmmod with at least on drive attached, SCSI error handle will run into infinite loop, and lockup the system. Fix it by

Re: [PATCH 3/3] mvsas: remove SCSI host before detaching from SAS transport

2015-11-05 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 3/3] mvsas: remove SCSI host before detaching from SAS transport

2015-11-04 Thread Jinpu Wang
>From 6c3cb7d4df1e164008338c922cd99149a6a8191b Mon Sep 17 00:00:00 2001 From: Jack Wang <jinpu.w...@profitbricks.com> Date: Wed, 4 Nov 2015 10:05:01 +0100 Subject: [PATCH 3/3] mvsas: remove SCSI host before detaching from SAS transport commit cff549e4860f ("scsi: proper state check