diff options
author | 2025-02-05 15:34:31 -0600 | |
---|---|---|
committer | 2025-02-06 11:51:43 +0100 | |
commit | cb0e0a8bf4e1e1c8cd6d11ccaa355a23e1853566 (patch) | |
tree | 312d051e616458c5a2191bfac7cdb67989e19a86 /mm/util.c | |
parent | vfs: Convert devpts to use the new mount API (diff) | |
download | wireguard-linux-cb0e0a8bf4e1e1c8cd6d11ccaa355a23e1853566.tar.xz wireguard-linux-cb0e0a8bf4e1e1c8cd6d11ccaa355a23e1853566.zip |
devtmpfs: replace ->mount with ->get_tree in public instance
To finalize mount API conversion, remove the ->mount op from the public
instance in favor of ->get_tree etc. Copy most ops from the underlying
ops vector (whether it's shmem or ramfs) and substitute our own
->get_tree which simply takes an extra reference on the existing internal
mount as before.
Thanks to Al for the fs_context_for_reconfigure() idea.
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Neil Brown <neilb@suse.de>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Link: https://lore.kernel.org/r/20250205213931.74614-4-sandeen@redhat.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions