]> www.infradead.org Git - users/jedix/linux-maple.git/commit
vfs: Convert tracefs to use the new mount API
authorDavid Howells <dhowells@redhat.com>
Tue, 5 Mar 2024 23:09:30 +0000 (17:09 -0600)
committerChristian Brauner <brauner@kernel.org>
Tue, 26 Mar 2024 08:04:54 +0000 (09:04 +0100)
commit78ff640819496212feea29c62174f3eb3c837134
tree3cc7e0df9b12a771d50856915f60893564ab820f
parenta20971c187522f5a7cd8e961e7e9c88f31ea2bed
vfs: Convert tracefs to use the new mount API

Convert the tracefs filesystem to the new internal mount API as the old
one will be obsoleted and removed.  This allows greater flexibility in
communication of mount parameters between userspace, the VFS and the
filesystem.

See Documentation/filesystems/mount_api.txt for more information.

Signed-off-by: David Howells <dhowells@redhat.com>
Co-developed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
[sandeen: forward port to modern kernel, fix remounting]
Link: https://lore.kernel.org/r/536e99d3-345c-448b-adee-a21389d7ab4b@redhat.com
cc: Steven Rostedt <rostedt@goodmis.org>
cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/tracefs/inode.c