diff options
| author | Christian Brauner <brauner@kernel.org> | 2025-02-06 11:47:55 +0100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-02-06 11:51:44 +0100 |
| commit | e8fe0d4b2e5dff6dac4f29303484f22b87800825 (patch) | |
| tree | 8f27b7a557265175ed3d04bdf660cc1dad32df56 /include/linux/fs.h | |
| parent | 2014c95afecee3e76ca4a56956a936e23283f05b (diff) | |
| parent | bdfa77e7c6bfda57d28fba24a5195fca2392c08a (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/fs.h')
| -rw-r--r-- | include/linux/fs.h | 3 |
1 files changed, 0 insertions, 3 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)); |
