summaryrefslogtreecommitdiffstats
path: root/fs/cifs/fs_context.h
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2020-10-21 03:30:35 +0200
committerSteve French <stfrench@microsoft.com>2020-10-22 19:17:05 +0200
commit2f20f076865daed006459b39ba78c2fc23b5c8b4 (patch)
treedc5040051efa9cbd928340f1eb270644fc6610f7 /fs/cifs/fs_context.h
parentcifs: move security mount options into fs_context.ch (diff)
downloadlinux-2f20f076865daed006459b39ba78c2fc23b5c8b4.tar.xz
linux-2f20f076865daed006459b39ba78c2fc23b5c8b4.zip
cifs: move cache mount options to fs_context.ch
Helps to shrink connect.c and make it more readable by moving mount related code to fs_context.c and fs_context.h 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.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/fs/cifs/fs_context.h b/fs/cifs/fs_context.h
index 87747ef7a2d3..3e3f6e29e787 100644
--- a/fs/cifs/fs_context.h
+++ b/fs/cifs/fs_context.h
@@ -12,6 +12,17 @@
#include <linux/parser.h>
#include "cifsglob.h"
+enum {
+ Opt_cache_loose,
+ Opt_cache_strict,
+ Opt_cache_none,
+ Opt_cache_ro,
+ Opt_cache_rw,
+ Opt_cache_err
+};
+
+int cifs_parse_cache_flavor(char *value, struct smb_vol *vol);
+
enum cifs_sec_param {
Opt_sec_krb5,
Opt_sec_krb5i,