diff options
author | Jeff Layton <jlayton@redhat.com> | 2008-12-01 07:09:36 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-12-25 21:29:09 -0500 |
commit | 72ca545b2d83ac7de671bf66d2dbc214528b4c0c (patch) | |
tree | 660fd7308d20a6e3dd30789d0107393cca0c9464 /fs/cifs/cifsglob.h | |
parent | 0468a2cf914e79442b8309ce62e3f861599d8cab (diff) |
cifs: convert tcpSem to a mutex
Mutexes are preferred for single-holder semaphores...
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 82e28f5515c8..9b002cca6bb7 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h | |||
@@ -151,7 +151,7 @@ struct TCP_Server_Info { | |||
151 | atomic_t num_waiters; /* blocked waiting to get in sendrecv */ | 151 | atomic_t num_waiters; /* blocked waiting to get in sendrecv */ |
152 | #endif | 152 | #endif |
153 | enum statusEnum tcpStatus; /* what we think the status is */ | 153 | enum statusEnum tcpStatus; /* what we think the status is */ |
154 | struct semaphore tcpSem; | 154 | struct mutex srv_mutex; |
155 | struct task_struct *tsk; | 155 | struct task_struct *tsk; |
156 | char server_GUID[16]; | 156 | char server_GUID[16]; |
157 | char secMode; | 157 | char secMode; |