K 10 svn:author V 5 tegge K 8 svn:date V 27 1997-06-25T19:07:43.000000Z K 7 svn:log V 363 Introduce an advisory exclusive lock on the scsi link structure. Change sd_open, sd_close and sd_ioctl to use this lock to ensure serialization of some critical operations, thus avoiding some race conditions. Ideas picked from NetBSD (ccd and sd devices). This fixes one of the problems noted in PR kern/3688. Reviewed by: "Justin T. Gibbs" END