diff options
author | Steve French <stfrench@microsoft.com> | 2023-08-25 07:44:05 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-08-30 16:55:02 +0300 |
commit | b3773b19d43f4e22d0c819a7514341b26e8fb4a8 (patch) | |
tree | 161ae47423d270f10c167c8e489ef3e656a2a2b5 /fs/smb/client/cifsglob.h | |
parent | 09ee7a3bf866c0fa5ee1914d2c65958559eb5b4c (diff) | |
download | linux-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/cifsglob.h')
-rw-r--r-- | fs/smb/client/cifsglob.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/smb/client/cifsglob.h b/fs/smb/client/cifsglob.h index 3271be65fd6f..259e231f8b4f 100644 --- a/fs/smb/client/cifsglob.h +++ b/fs/smb/client/cifsglob.h @@ -745,7 +745,7 @@ struct TCP_Server_Info { * primary_server holds the ref-counted * pointer to primary channel connection for the session. */ -#define CIFS_SERVER_IS_CHAN(server) (!!(server)->primary_server) +#define SERVER_IS_CHAN(server) (!!(server)->primary_server) struct TCP_Server_Info *primary_server; __u16 channel_sequence_num; /* incremented on primary channel on each chan reconnect */ |