diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-02-03 15:27:13 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-02-03 15:43:38 -0500 |
commit | 350bc16072dd78f02cbb37575eb54afa9ec8ce18 (patch) | |
tree | 72e4bd59baef0cf99ada93ed090b0a2ab39986e2 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 174fc78e24a34bbd8a3943b847fe6cf74089373e (diff) |
fs: FS_IOC_GETUUID
Add a new generic ioctls for querying the filesystem UUID.
'struct fsuuid' has a length field, so that these can be used for old
weird filesystems without a real UUID (vfat). The length must never
be more than 16 bytes.
This patch adds a generic implementation of FS_IOC_GETFSUUID, which
reads from super_block->s_uuid.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Cc: Alexander Viro <viro@zeniv.linux.org.uk
Cc: Christian Brauner <brauner@kernel.org>
Cc: Jan Kara <jack@suse.cz>
Cc: Dave Chinner <dchinner@redhat.com>
Cc: "Darrick J. Wong" <djwong@kernel.org>
Cc: Theodore Ts'o <tytso@mit.edu>
Cc: linux-fsdevel@vger.kernel.or
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions