Re: [PATCH v2 1/7] fs: super_set_uuid()

From: Dave Chinner
Date: Tue Feb 06 2024 - 16:45:47 EST


On Tue, Feb 06, 2024 at 03:18:49PM -0500, Kent Overstreet wrote:
> 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.
>
> Signed-off-by: Kent Overstreet <kent.overstreet@xxxxxxxxx>

Looks good.

Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx>
--
Dave Chinner
david@xxxxxxxxxxxxx