linux/fs/kernfs
Kent Overstreet a4af51ce22
fs: super_set_uuid()
Some weird old filesytems have UUID-like things that we wish to expose
as UUIDs, but are smaller; add a length field so that the new
FS_IOC_(GET|SET)UUID ioctls can handle them in generic code.

And add a helper super_set_uuid(), for setting nonstandard length uuids.

Helper is now required for the new FS_IOC_GETUUID ioctl; if
super_set_uuid() hasn't been called, the ioctl won't be supported.

Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Link: https://lore.kernel.org/r/20240207025624.1019754-2-kent.overstreet@linux.dev
Signed-off-by: Christian Brauner <brauner@kernel.org>
2024-02-08 21:19:59 +01:00
..
dir.c Revert "kernfs: convert kernfs_idr_lock to an irq safe raw spinlock" 2024-01-11 11:51:27 +01:00
file.c kernfs: fix reference to renamed function 2024-01-02 10:54:32 +01:00
inode.c vfs-6.7.ctime 2023-10-30 09:47:13 -10:00
Kconfig
kernfs-internal.h kernfs: move kernfs_xattr_handlers to .rodata 2023-10-09 16:24:20 +02:00
Makefile
mount.c fs: super_set_uuid() 2024-02-08 21:19:59 +01:00
symlink.c