summaryrefslogtreecommitdiff
path: root/fs/cifs/fs_context.h
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2020-10-21 03:37:11 +0300
committerSteve French <stfrench@microsoft.com>2020-10-22 20:16:44 +0300
commit5c6e5aa496804451fc94d00a7cf9be2e3051ae29 (patch)
tree5a4b8c8354f4d1b03b4a608d3408140849178723 /fs/cifs/fs_context.h
parenta6a9cffad0a28a4a7a3a91b6ee13dd1baae4dfcb (diff)
downloadlinux-5c6e5aa496804451fc94d00a7cf9be2e3051ae29.tar.xz
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.h20
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