Re: [PATCH 2/5] Use mutex instead of semaphore in the OnStream SCSI Tape driver

2007-07-29 Thread Satyam Sharma
Hi, On Sun, 29 Jul 2007, Matthias Kaehlcke wrote: > The OnStream SCSI Tape driver uses a semaphore as mutex. Use the mutex > API instead of the (binary) semaphore. > > Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> > [...] > @@ -3298,7 +3298,7 @@ static ssize_t osst_write(struct file *

[PATCH 2/5] Use mutex instead of semaphore in the OnStream SCSI Tape driver

2007-07-29 Thread Matthias Kaehlcke
The OnStream SCSI Tape driver uses a semaphore as mutex. Use the mutex API instead of the (binary) semaphore. Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> -- diff --git a/drivers/scsi/osst.c b/drivers/scsi/osst.c index 08060fb..0e2452c 100644 --- a/drivers/scsi/osst.c +++

[PATCH 2/5] Use mutex instead of semaphore in the OnStream SCSI Tape driver

2007-07-29 Thread Matthias Kaehlcke
The OnStream SCSI Tape driver uses a semaphore as mutex. Use the mutex API instead of the (binary) semaphore. Signed-off-by: Matthias Kaehlcke [EMAIL PROTECTED] -- diff --git a/drivers/scsi/osst.c b/drivers/scsi/osst.c index 08060fb..0e2452c 100644 --- a/drivers/scsi/osst.c +++

Re: [PATCH 2/5] Use mutex instead of semaphore in the OnStream SCSI Tape driver

2007-07-29 Thread Satyam Sharma
Hi, On Sun, 29 Jul 2007, Matthias Kaehlcke wrote: The OnStream SCSI Tape driver uses a semaphore as mutex. Use the mutex API instead of the (binary) semaphore. Signed-off-by: Matthias Kaehlcke [EMAIL PROTECTED] [...] @@ -3298,7 +3298,7 @@ static ssize_t osst_write(struct file * filp,