summaryrefslogtreecommitdiff
path: root/fs/smb/client/misc.c
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2023-08-25 07:44:05 +0300
committerSteve French <stfrench@microsoft.com>2023-08-30 16:55:02 +0300
commitb3773b19d43f4e22d0c819a7514341b26e8fb4a8 (patch)
tree161ae47423d270f10c167c8e489ef3e656a2a2b5 /fs/smb/client/misc.c
parent09ee7a3bf866c0fa5ee1914d2c65958559eb5b4c (diff)
downloadlinux-b3773b19d43f4e22d0c819a7514341b26e8fb4a8.tar.xz
SMB3: rename macro CIFS_SERVER_IS_CHAN to avoid confusion
Since older dialects such as CIFS do not support multichannel the macro CIFS_SERVER_IS_CHAN can be confusing (it requires SMB 3 or later) so shorten its name to "SERVER_IS_CHAN" Suggested-by: Tom Talpey <tom@talpey.com> Acked-by: Shyam Prasad N <sprasad@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/client/misc.c')
-rw-r--r--fs/smb/client/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/smb/client/misc.c b/fs/smb/client/misc.c
index d7e85d9a2655..366b755ca913 100644
--- a/fs/smb/client/misc.c
+++ b/fs/smb/client/misc.c
@@ -476,7 +476,7 @@ is_valid_oplock_break(char *buffer, struct TCP_Server_Info *srv)
return false;
/* If server is a channel, select the primary channel */
- pserver = CIFS_SERVER_IS_CHAN(srv) ? srv->primary_server : srv;
+ pserver = SERVER_IS_CHAN(srv) ? srv->primary_server : srv;
/* look up tcon based on tid & uid */
spin_lock(&cifs_tcp_ses_lock);