On Thu, Nov 18 1999, gokhan sozmen wrote:
> 
> Looking at drivers/scsi/sr.c/get_sectorsize()
> in RH6.1 (2.2.12-20), it looks like the 
> function is calling both scsi_malloc() 
> and scsi_allocate_device() without 
> grabbing the io_request_lock. Wouldn't this
> be a potential SMP race hazard?

Yes and it is fixed in recent 2.3 - not sure whether I
back ported those changes to 2.2 (it's in my patch
set, but I don't think I ever got around to submitting
that part of it).

-- 
*  Jens Axboe <[EMAIL PROTECTED]>
*  Linux CD-ROM Maintainer
*  http://www.kernel.dk

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to