Unverified Commit ed9d95f6 authored by Jeff Layton's avatar Jeff Layton Committed by Christian Brauner
Browse files

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: default avatarJan Kara <jack@suse.cz>
Reviewed-by: default avatarIan Kent <raven@themaw.net>
Signed-off-by: default avatarJeff Layton <jlayton@kernel.org>
Link: https://lore.kernel.org/r/20241111-statmount-v4-2-2eaf35d07a80@kernel.org


Acked-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 75ead69a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment