aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuresh Jayaraman <sjayaraman@suse.de>2010-10-18 14:22:18 -0400
committerSteve French <sfrench@us.ibm.com>2010-10-24 20:19:01 -0400
commit6573e9b73e19c0f6b9dfa2b399267ea0f42d6c6b (patch)
tree7752091c8b066be2c792164f9dd1a3ea4354c4a8
parenteb4b756b1e60b66e54932619088b645c712414a3 (diff)
cifs: update comments - [s/GlobalSMBSesLock/cifs_file_list_lock/g]
GlobalSMBSesLock is now cifs_file_list_lock. Update comments to reflect this. Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de> Signed-off-by: Steve French <sfrench@us.ibm.com>
-rw-r--r--fs/cifs/cifsglob.h2
-rw-r--r--fs/cifs/file.c2
-rw-r--r--fs/cifs/misc.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index ef5709b250e6..539475a11c45 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -670,7 +670,7 @@ require use of the stronger protocol */
670 * GlobalMid_Lock protects: 670 * GlobalMid_Lock protects:
671 * list operations on pending_mid_q and oplockQ 671 * list operations on pending_mid_q and oplockQ
672 * updates to XID counters, multiplex id and SMB sequence numbers 672 * updates to XID counters, multiplex id and SMB sequence numbers
673 * GlobalSMBSesLock protects: 673 * cifs_file_list_lock protects:
674 * list operations on tcp and SMB session lists and tCon lists 674 * list operations on tcp and SMB session lists and tCon lists
675 * f_owner.lock protects certain per file struct operations 675 * f_owner.lock protects certain per file struct operations
676 * mapping->page_lock protects certain per page operations 676 * mapping->page_lock protects certain per page operations
diff --git a/fs/cifs/file.c b/fs/cifs/file.c
index ad47820655d9..d7c212a38386 100644
--- a/fs/cifs/file.c
+++ b/fs/cifs/file.c
@@ -2291,7 +2291,7 @@ void cifs_oplock_break(struct work_struct *work)
2291 /* 2291 /*
2292 * We might have kicked in before is_valid_oplock_break() 2292 * We might have kicked in before is_valid_oplock_break()
2293 * finished grabbing reference for us. Make sure it's done by 2293 * finished grabbing reference for us. Make sure it's done by
2294 * waiting for GlobalSMSSeslock. 2294 * waiting for cifs_file_list_lock.
2295 */ 2295 */
2296 spin_lock(&cifs_file_list_lock); 2296 spin_lock(&cifs_file_list_lock);
2297 spin_unlock(&cifs_file_list_lock); 2297 spin_unlock(&cifs_file_list_lock);
diff --git a/fs/cifs/misc.c b/fs/cifs/misc.c
index 1c681f6a6803..c4e296fe3518 100644
--- a/fs/cifs/misc.c
+++ b/fs/cifs/misc.c
@@ -577,7 +577,7 @@ is_valid_oplock_break(struct smb_hdr *buf, struct TCP_Server_Info *srv)
577 * cifs_oplock_break_put() can't be called 577 * cifs_oplock_break_put() can't be called
578 * from here. Get reference after queueing 578 * from here. Get reference after queueing
579 * succeeded. cifs_oplock_break() will 579 * succeeded. cifs_oplock_break() will
580 * synchronize using GlobalSMSSeslock. 580 * synchronize using cifs_file_list_lock.
581 */ 581 */
582 if (queue_work(system_nrt_wq, 582 if (queue_work(system_nrt_wq,
583 &netfile->oplock_break)) 583 &netfile->oplock_break))