summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2025-02-06 11:47:55 +0100
committerChristian Brauner <brauner@kernel.org>2025-02-06 11:51:44 +0100
commite8fe0d4b2e5dff6dac4f29303484f22b87800825 (patch)
tree8f27b7a557265175ed3d04bdf660cc1dad32df56 /include/linux
parent2014c95afecee3e76ca4a56956a936e23283f05b (diff)
parentbdfa77e7c6bfda57d28fba24a5195fca2392c08a (diff)
Merge patch series "fs: last of the pseudofs mount api conversions"
Eric Sandeen <sandeen@redhat.com> says: pstore used mount_single, which used to transparently do a remount operation on a fresh mount of an existing superblock. The new get_tree_single does not do this, but prior discussion on fsdevel seems to indicate that this isn't expected to be a problem. We can watch for issues. devpts is just a forward port from work dhowells did already, and it seems straightforward. I left error messages as they are rather than converting to the mount API message channel for now. devtmpfs was already converted, but left a .mount in place, rather than using .get_tree. The solution to this is ... unique so some scrutiny is probably wise. The last patch removes reconfigure_single, mount_single, and compare_single because no users remain, but we could also wait until all conversions are done, and remove all infrastructure at that time instead, if desired. * patches from https://lore.kernel.org/r/20250205213931.74614-1-sandeen@redhat.com: vfs: remove some unused old mount api code devtmpfs: replace ->mount with ->get_tree in public instance vfs: Convert devpts to use the new mount API pstore: convert to the new mount API Link: https://lore.kernel.org/r/20250205213931.74614-1-sandeen@redhat.com Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fs.h3
-rw-r--r--include/linux/fs_context.h2
2 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index be3ad155ec9f..ff5e8ab9f951 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2641,9 +2641,6 @@ static inline bool is_mgtime(const struct inode *inode)
extern struct dentry *mount_bdev(struct file_system_type *fs_type,
int flags, const char *dev_name, void *data,
int (*fill_super)(struct super_block *, void *, int));
-extern struct dentry *mount_single(struct file_system_type *fs_type,
- int flags, void *data,
- int (*fill_super)(struct super_block *, void *, int));
extern struct dentry *mount_nodev(struct file_system_type *fs_type,
int flags, void *data,
int (*fill_super)(struct super_block *, void *, int));
diff --git a/include/linux/fs_context.h b/include/linux/fs_context.h
index 4b4bfef6f053..a19e4bd32e4d 100644
--- a/include/linux/fs_context.h
+++ b/include/linux/fs_context.h
@@ -144,8 +144,6 @@ extern void put_fs_context(struct fs_context *fc);
extern int vfs_parse_fs_param_source(struct fs_context *fc,
struct fs_parameter *param);
extern void fc_drop_locked(struct fs_context *fc);
-int reconfigure_single(struct super_block *s,
- int flags, void *data);
extern int get_tree_nodev(struct fs_context *fc,
int (*fill_super)(struct super_block *sb,