Re: [PATCH -next] scsi: ufs: fix reference counting of W-LUs

2014-10-17 Thread Christoph Hellwig
Thanks, this looks good to me. Subhash, can I expect a set of ufs fixes with this included from you soon? -- 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.ht

[PATCH -next] scsi: ufs: fix reference counting of W-LUs

2014-10-07 Thread Akinobu Mita
UFS driver adds three well known LUs in the initialization, but those reference counts are not decremented, so it makes ufshcd module impossible to unload. This fixes it by putting scsi_device_put() in the initalization, and in order to protect concurrent access to hba->sdev_ufs_device (UFS Device