Re: [PATCH v1] ntfs: support FS_IOC_GETFSUUID
From: Namjae Jeon
Date: Wed Oct 14 2026 - 08:52:43 EST
On Wed, Oct 14, 2026 at 8:43 AM Baolin Liu <liubaolin12138@xxxxxxx> wrote:
>
> From: Baolin Liu <liubaolin@xxxxxxxxxx>
>
> NTFS reads the 64-bit volume serial number from the boot sector but leaves
> the superblock UUID unset. As a result, the generic FS_IOC_GETFSUUID
> handler returns ENOTTY for files and directories on an NTFS volume.
>
> Register the on-disk little-endian serial number as an eight-byte
> filesystem identifier with super_set_uuid(). The generic VFS handler can
> then expose the existing volume identifier.
>
> Signed-off-by: Baolin Liu <liubaolin@xxxxxxxxxx>
Applied it to #ntfs-next.
Thanks!