Blob Blame History Raw
From: Steve French <stfrench@microsoft.com>
Date: Fri, 9 Apr 2021 14:49:15 -0500
Subject: [PATCH] cifs: correct comments explaining internal semaphore usage in
 the module
Git-commit: edc9dd1e3c31cfec742593ef9b36af59208bf079
Patch-mainline: v5.13-rc1
References: bsc#1192606

A few of the semaphores had been removed, and one additional one
needed to be noted in the comments.

Signed-off-by: Steve French <stfrench@microsoft.com>
Acked-by: Enzo Matsumiya <ematsumiya@suse.de>
---
 fs/cifs/cifsglob.h | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index ec824ab8c5ca..21a749074789 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -1796,9 +1796,8 @@ require use of the stronger protocol */
  *
  *  Semaphores
  *  ----------
- *  sesSem     operations on smb session
- *  tconSem    operations on tree connection
- *  fh_sem      file handle reconnection operations
+ *  cifsInodeInfo->lock_sem protects:
+ *	the list of locks held by the inode
  *
  ****************************************************************************/
 
-- 
2.33.1