diff options
author | Arjan van de Ven <arjan@infradead.org> | 2006-01-11 07:16:10 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2006-01-12 12:53:11 -0500 |
commit | 0b9506723826c68b50fa33e345700ddcac1bed36 (patch) | |
tree | da3e432ef4517c47ebdc088c6322d0ac51193127 /drivers/scsi/iscsi_tcp.h | |
parent | dacee84b070c4e705a5b6446f1f0a6a6e2f8d7a4 (diff) |
[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>
Diffstat (limited to 'drivers/scsi/iscsi_tcp.h')
-rw-r--r-- | drivers/scsi/iscsi_tcp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/iscsi_tcp.h b/drivers/scsi/iscsi_tcp.h index 855f2dfd18af..9badafe8820d 100644 --- a/drivers/scsi/iscsi_tcp.h +++ b/drivers/scsi/iscsi_tcp.h | |||
@@ -158,7 +158,7 @@ struct iscsi_conn { | |||
158 | struct kfifo *mgmtqueue; /* mgmt (control) xmit queue */ | 158 | struct kfifo *mgmtqueue; /* mgmt (control) xmit queue */ |
159 | struct kfifo *xmitqueue; /* data-path cmd queue */ | 159 | struct kfifo *xmitqueue; /* data-path cmd queue */ |
160 | struct work_struct xmitwork; /* per-conn. xmit workqueue */ | 160 | struct work_struct xmitwork; /* per-conn. xmit workqueue */ |
161 | struct semaphore xmitsema; /* serializes connection xmit, | 161 | struct mutex xmitmutex; /* serializes connection xmit, |
162 | * access to kfifos: * | 162 | * access to kfifos: * |
163 | * xmitqueue, writequeue, * | 163 | * xmitqueue, writequeue, * |
164 | * immqueue, mgmtqueue */ | 164 | * immqueue, mgmtqueue */ |