Add support for reading / writing to the exfat volume label from the FS_IOC_GETFSLABEL and FS_IOC_SETFSLABEL ioctls. Implemented in similar ways to other fs drivers, namely btrfs and ext4, where the ioctls are performed on file inodes. v5: Change behavior to only allocate new cluster when no useable dentries exist. Leverage exfat_find_empty_entry to handle this behavior, and to set inode size. Update inode hint_femp to speed up later search efforts. v4: Implement allocating a new cluster when the current dentry cluster would be full as a result of inserting a volume label dentry. Link: https://lore.kernel.org/all/20250822202010.232922-1-ethan.ferguson@xxxxxxxxxx/ v3: Add lazy-loading of volume label into superblock. Use better UTF-16 conversions to detect invalid characters. If no volume label entry exists, overwrite a deleted dentry, or create a new dentry if the cluster has space. Link: https://lore.kernel.org/all/20250821150926.1025302-1-ethan.ferguson@xxxxxxxxxx/ v2: Fix endianness conversion as reported by kernel test robot Link: https://lore.kernel.org/all/20250817003046.313497-1-ethan.ferguson@xxxxxxxxxx/ v1: Link: https://lore.kernel.org/all/20250815171056.103751-1-ethan.ferguson@xxxxxxxxxx/ Ethan Ferguson (1): exfat: Add support for FS_IOC_{GET,SET}FSLABEL fs/exfat/exfat_fs.h | 7 ++ fs/exfat/exfat_raw.h | 6 ++ fs/exfat/file.c | 80 +++++++++++++++++++++ fs/exfat/namei.c | 2 +- fs/exfat/super.c | 165 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 259 insertions(+), 1 deletion(-) -- 2.34.1