]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitad01f507d5cc12e92268545dfd1b5a1e61acc2b4
tree802a840455cdb152a8f22f4f292cf2aff0d64c8d
parent2969144d83f1995b261c178ad95fbbb219d3e540
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