summaryrefslogtreecommitdiffstats
path: root/fs/cifs/misc.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2010-02-25 05:36:46 +0000
committerSteve French <sfrench@us.ibm.com>2010-02-25 05:36:46 +0000
commitd7b619cf56218704ffce9d510aa497f0a0bcda0b (patch)
treeab382be7cce3ecd5152a339d1a839343aa7939f0 /fs/cifs/misc.c
parent122ca0076e5f84fa12943f22f6586ff285670783 (diff)
downloadblackbird-op-linux-d7b619cf56218704ffce9d510aa497f0a0bcda0b.tar.gz
blackbird-op-linux-d7b619cf56218704ffce9d510aa497f0a0bcda0b.zip
[CIFS] pSesInfo->sesSem is used as mutex. Rename it to session_mutex and
convert it to a real mutex. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/misc.c')
-rw-r--r--fs/cifs/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/misc.c b/fs/cifs/misc.c
index d27d4ec6579b..d1474996a812 100644
--- a/fs/cifs/misc.c
+++ b/fs/cifs/misc.c
@@ -79,7 +79,7 @@ sesInfoAlloc(void)
++ret_buf->ses_count;
INIT_LIST_HEAD(&ret_buf->smb_ses_list);
INIT_LIST_HEAD(&ret_buf->tcon_list);
- init_MUTEX(&ret_buf->sesSem);
+ mutex_init(&ret_buf->session_mutex);
}
return ret_buf;
}
OpenPOWER on IntegriCloud