[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87ikc3xvi7.fsf@mail.parknet.co.jp>
Date: Wed, 11 Feb 2026 22:25:20 +0900
From: OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>
To: Ethan Ferguson <ethan.ferguson@...ier.com>
Cc: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/2] fat: Add FS_IOC_GETFSLABEL / FS_IOC_SETFSLABEL ioctls
Ethan Ferguson <ethan.ferguson@...ier.com> writes:
> Add support for reading / writing to the volume label of a FAT filesystem
> via the FS_IOC_GETFSLABEL and FS_IOC_SETFSLABEL ioctls.
>
> Volume label changes are persisted in the volume label dentry in the root
> directory as well as the bios parameter block.
>
> Some notes about possile deficiencies with this patch:
> 1. If there is no current volume label directory entry present, one is not
> created.
> 2. Changes to the volume label are not checked for validity against the
> current codepage.
As you know, those will be required to implement. Additionally it looks
like missing proper locking.
Thanks.
> Ethan Ferguson (2):
> fat: Add FS_IOC_GETFSLABEL ioctl
> fat: Add FS_IOC_SETFSLABEL ioctl
>
> fs/fat/dir.c | 22 ++++++++++++++++++++++
> fs/fat/fat.h | 2 ++
> fs/fat/file.c | 28 ++++++++++++++++++++++++++++
> fs/fat/inode.c | 26 ++++++++++++++++++++++++--
> 4 files changed, 76 insertions(+), 2 deletions(-)
>
>
> base-commit: 9f2693489ef8558240d9e80bfad103650daed0af
--
OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>
Powered by blists - more mailing lists