diff options
author | Steve French <stfrench@microsoft.com> | 2022-07-16 07:57:08 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-08-01 09:34:44 +0300 |
commit | 89e42f49ef58bf5601ce452683aad1cb1088878f (patch) | |
tree | dadcd001bc5e541c9ce5fc424ad29c4b3aba00ff /fs/cifs/cifsglob.h | |
parent | c2c17ddbf32bd89c4b5e3eb71068b52c890d07df (diff) | |
download | linux-89e42f49ef58bf5601ce452683aad1cb1088878f.tar.xz |
cifs: remove minor build warning
The build warning:
warning: symbol 'cifs_tcp_ses_lock' was not declared. Should it be static?
can be distracting. Fix two of these.
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index c5eecc9522b3..9b7f409bfc8c 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -1941,7 +1941,7 @@ require use of the stronger protocol */ * sessions (and from that the tree connections) can be found * by iterating over cifs_tcp_ses_list */ -GLOBAL_EXTERN struct list_head cifs_tcp_ses_list; +extern struct list_head cifs_tcp_ses_list; /* * This lock protects the cifs_tcp_ses_list, the list of smb sessions per @@ -1953,7 +1953,7 @@ GLOBAL_EXTERN struct list_head cifs_tcp_ses_list; * tcon->open_file_lock and that before file->file_info_lock since the * structure order is cifs_socket-->cifs_ses-->cifs_tcon-->cifs_file */ -GLOBAL_EXTERN spinlock_t cifs_tcp_ses_lock; +extern spinlock_t cifs_tcp_ses_lock; /* * Global transaction id (XID) information |