aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2024-02-07 02:56:17 +0000
committerChristian Brauner <[email protected]>2024-02-08 20:20:11 +0000
commit41bcbe59c3b3fa7171dd2e3a365e6d5154198f30 (patch)
treec179abc2f94423a98962ab1b3ed03d8058a15bb6 /scripts/generate_rust_target.rs
parentovl: convert to super_set_uuid() (diff)
downloadkernel-41bcbe59c3b3fa7171dd2e3a365e6d5154198f30.tar.gz
kernel-41bcbe59c3b3fa7171dd2e3a365e6d5154198f30.zip
fs: FS_IOC_GETUUID
Add a new generic ioctls for querying the filesystem UUID. These are lifted versions of the ext4 ioctls, with one change: we're not using a flexible array member, because UUIDs will never be more than 16 bytes. This patch adds a generic implementation of FS_IOC_GETFSUUID, which reads from super_block->s_uuid. We're not lifting SETFSUUID from ext4 - that can be done on offline filesystems by the people who need it, trying to do it online is just asking for too much trouble. Cc: Christian Brauner <[email protected]> Cc: Jan Kara <[email protected]> Cc: Dave Chinner <[email protected]> Cc: Darrick J. Wong <[email protected]> Cc: Theodore Ts'o <[email protected]> Cc: [email protected] Signed-off-by: Kent Overstreet <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions