Re: [PATCH][SCSI] remove the queue unlock in scsi_requset_fn

2012-08-13 Thread Bart Van Assche
On 08/10/12 03:22, Chanho Min wrote: > We don't need to unlock the queue before put_device in scsi_request_fn() It looks like there is a typo in the patch subject ? Also, you can omit "[SCSI]" from the patch subject - AFAIK James has a script that inserts that text automatically. Bart. -- To uns

[PATCH][SCSI] remove the queue unlock in scsi_requset_fn

2012-08-09 Thread Chanho Min
We don't need to unlock the queue before put_device in scsi_request_fn() If we trigger the ->remove() function, It occur a oops from the caller. So sdev reference count should not be dropped to zero here. Also It was added before scsi_device_dev_release() was moved to user context, so it is outdate