]> 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)
commit9882d9129dadae0ea22bffab3759833a2c612fdc
tree802a840455cdb152a8f22f4f292cf2aff0d64c8d
parent318c3324f8a4ba08a218c433710cb7fe2335773b
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