[SCSI] turn most scsi semaphores into mutexes
the scsi layer is using semaphores in a mutex way, this patch converts these into using mutexes instead Signed-off-by: Arjan van de Ven <arjan@infradead.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
committed by
James Bottomley
parent
dacee84b07
commit
0b95067238
@@ -2,7 +2,7 @@
|
||||
#define __MEGARAID_H__
|
||||
|
||||
#include <linux/spinlock.h>
|
||||
|
||||
#include <linux/mutex.h>
|
||||
|
||||
#define MEGARAID_VERSION \
|
||||
"v2.00.3 (Release Date: Wed Feb 19 08:51:30 EST 2003)\n"
|
||||
@@ -889,7 +889,7 @@ typedef struct {
|
||||
|
||||
scb_t int_scb;
|
||||
Scsi_Cmnd int_scmd;
|
||||
struct semaphore int_mtx; /* To synchronize the internal
|
||||
struct mutex int_mtx; /* To synchronize the internal
|
||||
commands */
|
||||
struct completion int_waitq; /* wait queue for internal
|
||||
cmds */
|
||||
|
Reference in New Issue
Block a user