summaryrefslogtreecommitdiff
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2025-12-12 11:44:03 -0600
committerChristian Brauner <brauner@kernel.org>2025-12-15 14:48:33 +0100
commit51a146e0595c638c58097a1660ff6b6e7d3b72f3 (patch)
tree0499684fce1f38153b41a84f838c40f7ff670ae6 /include/linux/fs.h
parentd5bc4e31f2a3f301b4214858bec834c67bb2be5c (diff)
downloadlinux-next-51a146e0595c638c58097a1660ff6b6e7d3b72f3.tar.gz
linux-next-51a146e0595c638c58097a1660ff6b6e7d3b72f3.zip
fs: Remove internal old mount API code
Now that the last in-tree filesystem has been converted to the new mount API, remove all legacy mount API code designed to handle un-converted filesystems, and remove associated documentation as well. (The code to handle the legacy mount(2) syscall from userspace is still in place, of course.) Tested with an allmodconfig build on x86_64, and a sanity check of an old mount(2) syscall mount. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Link: https://patch.msgid.link/20251212174403.2882183-1-sandeen@redhat.com Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 04ceeca12a0d..9949d253e5aa 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2274,8 +2274,6 @@ struct file_system_type {
#define FS_RENAME_DOES_D_MOVE 32768 /* FS will handle d_move() during rename() internally. */
int (*init_fs_context)(struct fs_context *);
const struct fs_parameter_spec *parameters;
- struct dentry *(*mount) (struct file_system_type *, int,
- const char *, void *);
void (*kill_sb) (struct super_block *);
struct module *owner;
struct file_system_type * next;