| From: |
| Eric Sandeen <sandeen-AT-redhat.com> |
| To: |
| linux-fsdevel-AT-vger.kernel.org |
| Subject: |
| [PATCH 0/2] vfs: convert debugfs & tracefs to the new mount API |
| Date: |
| Tue, 05 Mar 2024 17:07:29 -0600 |
| Message-ID: |
| <cfdebcc3-b9de-4680-a764-6bdf37c0accb@redhat.com> |
| Cc: |
| Steven Rostedt <rostedt-AT-goodmis.org>, Greg Kroah-Hartman <gregkh-AT-linuxfoundation.org>, "Rafael J. Wysocki" <rafael-AT-kernel.org>, Christian Brauner <brauner-AT-kernel.org>, Bill O'Donnell <billodo-AT-redhat.com>, David Howells <dhowells-AT-redhat.com> |
| Archive-link: |
| Article |
Since debugfs and tracefs are cut & pasted one way or the other,
do these at the same time.
Both of these patches originated in dhowells' tree at
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/...
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/...
and
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/...
I've forward-ported them to the mount API that landed, and
fixed up remounting; ->reconfigure() needed to copy the
parsed context options into the current superblock options
to effect any remount changes.
While these do use the invalf() functions for some errors, they
are new messages, not messages that used to go to dmesg that
would be lost if userspace isn't listening.
I've done minimal testing - booting with the patches, testing
some of the remount behavior for mode & uid.
Oh, and I built it too. </brown_paper_bag>
thanks,
-Eric