diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2020-10-21 02:37:11 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-10-22 19:16:44 +0200 |
commit | 5c6e5aa496804451fc94d00a7cf9be2e3051ae29 (patch) | |
tree | 5a4b8c8354f4d1b03b4a608d3408140849178723 /fs/cifs/fs_context.h | |
parent | cifs: add files to host new mount api (diff) | |
download | linux-5c6e5aa496804451fc94d00a7cf9be2e3051ae29.tar.xz linux-5c6e5aa496804451fc94d00a7cf9be2e3051ae29.zip |
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 '')
-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 |