[PATCH v2 0/1] exfat: Add support for FS_IOC_{GET,SET}FSLABEL

From: Ethan Ferguson
Date: Sat Aug 16 2025 - 20:31:17 EST


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.

v2:
Fix endianness conversion as reported by kernel test robot
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
exfat: Fix endian conversion

fs/exfat/exfat_fs.h | 2 +
fs/exfat/exfat_raw.h | 6 +++
fs/exfat/file.c | 56 +++++++++++++++++++++++++
fs/exfat/super.c | 99 ++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 163 insertions(+)

--
2.50.1