summaryrefslogtreecommitdiffstats
path: root/fs/autofs/autofs_i.h
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2023-09-22 12:12:14 +0800
committerChristian Brauner <brauner@kernel.org>2023-09-22 14:08:02 +0200
commite6ec453bd0f03a60a80f00f95ae2eaa260faa3c2 (patch)
tree0ce43441bb01c7a7d919bc6587695905a7f975b8 /fs/autofs/autofs_i.h
parent1f50012d9c63c690f25956239bd25d10236405f8 (diff)
downloadlinux-e6ec453bd0f03a60a80f00f95ae2eaa260faa3c2.tar.gz
linux-e6ec453bd0f03a60a80f00f95ae2eaa260faa3c2.tar.bz2
linux-e6ec453bd0f03a60a80f00f95ae2eaa260faa3c2.zip
autofs: convert autofs to use the new mount api
Convert the autofs filesystem to use the mount API. The conversion patch was originally written by David Howells. I have taken that patch and broken it into several patches in an effort to make the change easier to review. Signed-off-by: Ian Kent <raven@themaw.net> Reviewed-by: Bill O'Donnell <bodonnel@redhat.com> Message-Id: <20230922041215.13675-8-raven@themaw.net> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/autofs/autofs_i.h')
-rw-r--r--fs/autofs/autofs_i.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/autofs/autofs_i.h b/fs/autofs/autofs_i.h
index c24d32be7937..244f18cdf23c 100644
--- a/fs/autofs/autofs_i.h
+++ b/fs/autofs/autofs_i.h
@@ -25,6 +25,8 @@
#include <linux/completion.h>
#include <linux/file.h>
#include <linux/magic.h>
+#include <linux/fs_context.h>
+#include <linux/fs_parser.h>
/* This is the range of ioctl() numbers we claim as ours */
#define AUTOFS_IOC_FIRST AUTOFS_IOC_READY
@@ -205,7 +207,8 @@ static inline void managed_dentry_clear_managed(struct dentry *dentry)
/* Initializing function */
-int autofs_fill_super(struct super_block *, void *, int);
+extern const struct fs_parameter_spec autofs_param_specs[];
+int autofs_init_fs_context(struct fs_context *fc);
struct autofs_info *autofs_new_ino(struct autofs_sb_info *);
void autofs_clean_ino(struct autofs_info *);