vfs: Convert debugfs to use the new mount API
authorDavid Howells <dhowells@redhat.com>
Tue, 5 Mar 2024 23:08:39 +0000 (17:08 -0600)
committerChristian Brauner <brauner@kernel.org>
Tue, 26 Mar 2024 08:04:54 +0000 (09:04 +0100)
commita20971c187522f5a7cd8e961e7e9c88f31ea2bed
treef3ab1f3cbe971677ef3907ebfaf3babf5932a2f6
parent8f27829974b025d4df2e78894105d75e3bf349f0
vfs: Convert debugfs to use the new mount API

Convert the debugfs 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/49d1f108-46e3-443f-85a3-6dd730c5d076@redhat.com
cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
cc: Rafael J. Wysocki <rafael@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/debugfs/inode.c