Re: [PATCH v4 00/11] scsi: fix module reference mismatch for scsi host

2015-01-22 Thread Akinobu Mita
2015-01-21 0:20 GMT+09:00 Alan Stern : > On Tue, 20 Jan 2015, Akinobu Mita wrote: > >> 2015-01-19 23:22 GMT+09:00 Tejun Heo : >> > On Mon, Jan 19, 2015 at 12:05:58AM +0900, Akinobu Mita wrote: >> >> While accessing a scsi_device, the use count of the underlying LLDD >> >> module is incremented. Th

Re: [PATCH v4 00/11] scsi: fix module reference mismatch for scsi host

2015-01-20 Thread Tejun Heo
Hello, Akinobu. On Tue, Jan 20, 2015 at 11:57:37PM +0900, Akinobu Mita wrote: > The reason I didn't move sht from the core driver to the LLDDs for > fixing ufs and ums-* in the first place is to avoid exporting many > symbols for callbacks in sht. But I realized that we can do it > without that m

Re: [PATCH v4 00/11] scsi: fix module reference mismatch for scsi host

2015-01-20 Thread Alan Stern
On Tue, 20 Jan 2015, Akinobu Mita wrote: > 2015-01-19 23:22 GMT+09:00 Tejun Heo : > > On Mon, Jan 19, 2015 at 12:05:58AM +0900, Akinobu Mita wrote: > >> While accessing a scsi_device, the use count of the underlying LLDD > >> module is incremented. The module reference is retrieved through > >> .

Re: [PATCH v4 00/11] scsi: fix module reference mismatch for scsi host

2015-01-20 Thread Akinobu Mita
2015-01-19 23:22 GMT+09:00 Tejun Heo : > On Mon, Jan 19, 2015 at 12:05:58AM +0900, Akinobu Mita wrote: >> While accessing a scsi_device, the use count of the underlying LLDD >> module is incremented. The module reference is retrieved through >> .module field of struct scsi_host_template. >> >> Thi

Re: [PATCH v4 00/11] scsi: fix module reference mismatch for scsi host

2015-01-19 Thread Tejun Heo
On Mon, Jan 19, 2015 at 12:05:58AM +0900, Akinobu Mita wrote: > While accessing a scsi_device, the use count of the underlying LLDD > module is incremented. The module reference is retrieved through > .module field of struct scsi_host_template. > > This mapping between scsi_device and underlying