From: Ethan Ferguson <ethan.ferguson@zetier.com>
To: hirofumi@mail.parknet.co.jp
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
Ethan Ferguson <ethan.ferguson@zetier.com>
Subject: [PATCH v2 0/2] fat: Add FS_IOC_GETFSLABEL / FS_IOC_SETFSLABEL ioctls
Date: Tue, 17 Feb 2026 18:06:26 -0500 [thread overview]
Message-ID: <20260217230628.719475-1-ethan.ferguson@zetier.com> (raw)
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.
v2:
* Create volume label dentry if not present
* Respect msdos shortname rules
* Add locking
* Fixed bugs (EFAULT from copy_to_user, uninitialized buffer_head)
Ethan Ferguson (2):
fat: Add FS_IOC_GETFSLABEL ioctl
fat: Add FS_IOC_SETFSLABEL ioctl
fs/fat/dir.c | 51 ++++++++++++++++++++++++++++
fs/fat/fat.h | 7 ++++
fs/fat/file.c | 79 ++++++++++++++++++++++++++++++++++++++++++++
fs/fat/inode.c | 26 +++++++++++++--
fs/fat/namei_msdos.c | 4 +--
5 files changed, 163 insertions(+), 4 deletions(-)
base-commit: 9f2693489ef8558240d9e80bfad103650daed0af
--
2.43.0
next reply other threads:[~2026-02-17 23:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-17 23:06 Ethan Ferguson [this message]
2026-02-17 23:06 ` [PATCH v2 1/2] fat: Add FS_IOC_GETFSLABEL ioctl Ethan Ferguson
2026-02-17 23:06 ` [PATCH v2 2/2] fat: Add FS_IOC_SETFSLABEL ioctl Ethan Ferguson
2026-02-18 6:50 ` kernel test robot
2026-02-18 7:21 ` kernel test robot
2026-02-18 7:22 ` OGAWA Hirofumi
2026-02-18 10:22 ` kernel test robot
2026-02-18 16:26 ` kernel test robot
2026-02-18 8:46 ` [syzbot ci] Re: fat: Add FS_IOC_GETFSLABEL / FS_IOC_SETFSLABEL ioctls syzbot ci
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260217230628.719475-1-ethan.ferguson@zetier.com \
--to=ethan.ferguson@zetier.com \
--cc=hirofumi@mail.parknet.co.jp \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®