diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2020-10-21 10:37:11 +1000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-10-22 12:16:44 -0500 |
commit | 5c6e5aa496804451fc94d00a7cf9be2e3051ae29 (patch) | |
tree | 5a4b8c8354f4d1b03b4a608d3408140849178723 /fs/cifs/fs_context.h | |
parent | a6a9cffad0a28a4a7a3a91b6ee13dd1baae4dfcb (diff) | |
download | linux-5c6e5aa496804451fc94d00a7cf9be2e3051ae29.tar.bz2 |
cifs: move security mount options into fs_context.ch
This patch moves the parsing of security mount options into
fs_context.ch. There are no changes to any logic.
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Diffstat (limited to 'fs/cifs/fs_context.h')
-rw-r--r-- | fs/cifs/fs_context.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/fs/cifs/fs_context.h b/fs/cifs/fs_context.h index 082f286f923e..87747ef7a2d3 100644 --- a/fs/cifs/fs_context.h +++ b/fs/cifs/fs_context.h @@ -9,7 +9,25 @@ #ifndef _FS_CONTEXT_H #define _FS_CONTEXT_H +#include <linux/parser.h> +#include "cifsglob.h" +enum cifs_sec_param { + Opt_sec_krb5, + Opt_sec_krb5i, + Opt_sec_krb5p, + Opt_sec_ntlmsspi, + Opt_sec_ntlmssp, + Opt_ntlm, + Opt_sec_ntlmi, + Opt_sec_ntlmv2, + Opt_sec_ntlmv2i, + Opt_sec_lanman, + Opt_sec_none, -#endif + Opt_sec_err +}; + +int cifs_parse_security_flavors(char *value, struct smb_vol *vol); +#endif |