diff options
| author | Jeff Layton <[email protected]> | 2024-11-11 15:09:56 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2024-11-12 13:37:12 +0000 |
| commit | ed9d95f691c29748f21bc019de9566b698fdfab7 (patch) | |
| tree | 5b2e64ff56e7ac75f0c4e938918f8d0d3ea2a2e1 /fs/fs-writeback.c | |
| parent | fs: don't let statmount return empty strings (diff) | |
| download | kernel-ed9d95f691c29748f21bc019de9566b698fdfab7.tar.gz kernel-ed9d95f691c29748f21bc019de9566b698fdfab7.zip | |
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 <[email protected]>
Reviewed-by: Ian Kent <[email protected]>
Signed-off-by: Jeff Layton <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Miklos Szeredi <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'fs/fs-writeback.c')
0 files changed, 0 insertions, 0 deletions
