cifs: move smb version mount options into fs_context.c
authorRonnie Sahlberg <lsahlber@redhat.com>
Wed, 21 Oct 2020 02:10:44 +0000 (12:10 +1000)
committerSteve French <stfrench@microsoft.com>
Thu, 22 Oct 2020 17:17:31 +0000 (12:17 -0500)
commit555782aa556af869d4f390996607abd356513ba4
tree802a840455cdb152a8f22f4f292cf2aff0d64c8d
parent2f20f076865daed006459b39ba78c2fc23b5c8b4
cifs: move smb version mount options into fs_context.c

This and related patches which move mount related
code to fs_context.c has the advantage of
shriking the code in fs/cifs/connect.c (which had
the second most lines of code of any of the files
in cifs.ko and was getting harder to read due
to its size) and will also make it easier to
switch over to the new mount API in the future.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsglob.h
fs/cifs/connect.c
fs/cifs/fs_context.c
fs/cifs/fs_context.h