patch-2.3.1 linux/drivers/scsi/st.c

Next file: linux/drivers/sound/dev_table.c
Previous file: linux/drivers/scsi/sr_ioctl.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.0/linux/drivers/scsi/st.c linux/drivers/scsi/st.c
@@ -279,7 +279,7 @@
     }
 
   cmd[1] |= (SCpnt->lun << 5) & 0xe0;
-  STp->sem = MUTEX_LOCKED;
+  init_MUTEX_LOCKED(&STp->sem);
   SCpnt->use_sg = (bytes > (STp->buffer)->sg[0].length) ?
       (STp->buffer)->use_sg : 0;
   if (SCpnt->use_sg) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)