cifs: Move some extern decls from .c files to .h
authorDavid Howells <dhowells@redhat.com>
Fri, 15 Mar 2024 17:46:56 +0000 (17:46 +0000)
committerSteve French <stfrench@microsoft.com>
Wed, 20 Mar 2024 16:49:24 +0000 (11:49 -0500)
commit5b142b37c70b1fa6936fa2d0babb0b8c16767d3a
treea57dc2bf26cde18ab69353010b4ca9a0f5b5276c
parent2760161d149f8d60c3f767fc62a823a1ead9d367
cifs: Move some extern decls from .c files to .h

Move the following:

        extern mempool_t *cifs_sm_req_poolp;
        extern mempool_t *cifs_req_poolp;
        extern mempool_t *cifs_mid_poolp;
        extern bool disable_legacy_dialects;

from various .c files to cifsglob.h.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: linux-cifs@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifsfs.c
fs/smb/client/cifsglob.h
fs/smb/client/connect.c
fs/smb/client/misc.c