diff options
author | Jeff Layton <jlayton@kernel.org> | 2024-11-11 10:09:56 -0500 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-11-12 14:37:12 +0100 |
commit | ed9d95f691c29748f21bc019de9566b698fdfab7 (patch) | |
tree | 5b2e64ff56e7ac75f0c4e938918f8d0d3ea2a2e1 /rust/kernel/task.rs | |
parent | 75ead69a717332efa70303fba85e1876793c74a9 (diff) |
fs: add the ability for statmount() to report the fs_subtype
/proc/self/mountinfo prints out the sb->s_subtype after the type. This
is particularly useful for disambiguating FUSE mounts (at least when the
userland driver bothers to set it). Add STATMOUNT_FS_SUBTYPE and claim
one of the __spare2 fields to point to the offset into the str[] array.
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Ian Kent <raven@themaw.net>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Link: https://lore.kernel.org/r/20241111-statmount-v4-2-2eaf35d07a80@kernel.org
Acked-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'rust/kernel/task.rs')
0 files changed, 0 insertions, 0 deletions