linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/1] exfat: Add support for FS_IOC_{GET,SET}FSLABEL
@ 2025-08-22 20:20 Ethan Ferguson
  2025-08-22 20:20 ` [PATCH v4 1/1] " Ethan Ferguson
  0 siblings, 1 reply; 8+ messages in thread
From: Ethan Ferguson @ 2025-08-22 20:20 UTC (permalink / raw)
  To: linkinjeon, sj1557.seo, yuezhang.mo
  Cc: linux-fsdevel, linux-kernel, Ethan Ferguson

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.

v4:
Implement allocating a new cluster when the current dentry cluster would
be full as a result of inserting a volume label dentry.
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@zetier.com/
v2:
Fix endianness conversion as reported by kernel test robot
Link: https://lore.kernel.org/all/20250817003046.313497-1-ethan.ferguson@zetier.com/
v1:
Link: https://lore.kernel.org/all/20250815171056.103751-1-ethan.ferguson@zetier.com/

Ethan Ferguson (1):
  exfat: Add support for FS_IOC_{GET,SET}FSLABEL

 fs/exfat/exfat_fs.h  |   5 +
 fs/exfat/exfat_raw.h |   6 ++
 fs/exfat/file.c      |  88 +++++++++++++++++
 fs/exfat/super.c     | 224 +++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 323 insertions(+)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-09-03  2:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-22 20:20 [PATCH v4 0/1] exfat: Add support for FS_IOC_{GET,SET}FSLABEL Ethan Ferguson
2025-08-22 20:20 ` [PATCH v4 1/1] " Ethan Ferguson
2025-08-31  9:50   ` Sungjong Seo
2025-09-01 18:02     ` [PATCH v4 0/1] " Ethan Ferguson
2025-09-02  5:44       ` Sungjong Seo
2025-09-02  4:55   ` [PATCH v4 1/1] " Yuezhang.Mo
2025-09-02 20:23     ` [PATCH v4 0/1] " Ethan Ferguson
2025-09-03  1:59       ` Yuezhang.Mo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).