From: Viacheslav Dubeyko <slava@dubeyko.com>
To: torvalds@linux-foundation.org
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
glaubitz@physik.fu-berlin.de, frank.li@vivo.com,
jkoolstra@xs4all.nl, mehdi.benhadjkhelifa@gmail.com,
shardul.b@mpiricsoftware.com,
penguin-kernel@I-love.SAKURA.ne.jp
Subject: [GIT PULL] hfs/hfsplus changes for 7.0-rc1
Date: Fri, 06 Feb 2026 16:26:16 -0800 [thread overview]
Message-ID: <9ee4d3b9c7e2131f274c5d1eb2bfcd009a92c765.camel@dubeyko.com> (raw)
Hello Linus,
This pull request contains several fixes of syzbot reported
issues and HFS+ fixes of xfstests failures.
Jori Koolstra has fixed the syzbot reported issue of triggering
BUG_ON() in the case of corrupted superblock. This patch replaces
the BUG_ON() in multiple places with proper error handling and
resolves the syzbot reported bug.
Mehdi Ben Hadj Khelifa has fixed the syzbot reported issues in
mount logic of HFS/HFS+ file systems. When HFS/HFS+ were converted to
the new mount api a bug was introduced by changing the allocation
pattern of sb->s_fs_info. The memory leaks issue has been fixed
by these two patches.
Shardul Bankar suggested the nice fix in hfs_bnode_create() by
returning ERR_PTR(-EEXIST) instead of the node pointer when it's
already hashed and fix of avoiding the double unload_nls() on mount
failure.
Tetsuo Handa added logic of setting inode's mode as regular
file for the case of system inodes.
The rest patches fix issue of failures in generic/020,
generic/037, generic/062, generic/480, and generic/498
xfstests for the case of HFS+ file system. Currently,
only 30 xfstests' test-cases experience failures for HFS+
file system (initially, it was around 100 failed xfstests).
The following changes since commit
8f0b4cce4481fb22653697cced8d0d04027cb1e8:
Linux 6.19-rc1 (2025-12-14 16:05:07 +1200)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/vdubeyko/hfs.git
tags/hfs-v7.0-tag1
for you to fetch changes up to
ebebb04baefdace1e0dc17f7779e5549063ca592:
hfsplus: avoid double unload_nls() on mount failure (2026-02-06
15:20:00 -0800)
----------------------------------------------------------------
hfs/hfsplus updates for v7.0
- hfsplus: avoid double unload_nls() on mount failure
- hfsplus: fix warning issue in inode.c
- hfsplus: fix generic/062 xfstests failure
- hfsplus: fix generic/037 xfstests failure
- hfsplus: pretend special inodes as regular files
- hfsplus: return error when node already exists in hfs_bnode_create
- hfs: Replace BUG_ON with error handling for CNID count checks
- hfsplus: fix generic/020 xfstests failure
- hfsplus: fix volume corruption issue for generic/498
- hfsplus: fix volume corruption issue for generic/480
- hfsplus: ensure sb->s_fs_info is always cleaned up
- hfs: ensure sb->s_fs_info is always cleaned up
----------------------------------------------------------------
Jori Koolstra (1):
hfs: Replace BUG_ON with error handling for CNID count checks
Mehdi Ben Hadj Khelifa (2):
hfs: ensure sb->s_fs_info is always cleaned up
hfsplus: ensure sb->s_fs_info is always cleaned up
Shardul Bankar (2):
hfsplus: return error when node already exists in
hfs_bnode_create
hfsplus: avoid double unload_nls() on mount failure
Tetsuo Handa (1):
hfsplus: pretend special inodes as regular files
Viacheslav Dubeyko (6):
hfsplus: fix volume corruption issue for generic/480
hfsplus: fix volume corruption issue for generic/498
hfsplus: fix generic/020 xfstests failure
hfsplus: fix generic/037 xfstests failure
hfsplus: fix generic/062 xfstests failure
hfsplus: fix warning issue in inode.c
fs/hfs/dir.c | 15 +++-
fs/hfs/hfs_fs.h | 1 +
fs/hfs/inode.c | 30 ++++++--
fs/hfs/mdb.c | 66 ++++++++++-------
fs/hfs/super.c | 13 +++-
fs/hfsplus/attributes.c | 189 +++++++++++++++++++++++++++++++++++-----
--------
fs/hfsplus/bnode.c | 2 +-
fs/hfsplus/dir.c | 46 +++++++++++-
fs/hfsplus/hfsplus_fs.h | 3 +
fs/hfsplus/inode.c | 40 +++++++++-
fs/hfsplus/super.c | 20 +++--
fs/hfsplus/xattr.c | 104 +++++++++++++++++++-------
12 files changed, 407 insertions(+), 122 deletions(-)
next reply other threads:[~2026-02-07 0:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-07 0:26 Viacheslav Dubeyko [this message]
2026-02-07 1:18 ` Tetsuo Handa
2026-02-07 8:55 ` John Paul Adrian Glaubitz
2026-02-07 9:44 ` Tetsuo Handa
2026-02-10 0:50 ` pr-tracker-bot
2026-02-10 11:12 ` Tetsuo Handa
2026-02-10 18:11 ` Viacheslav Dubeyko
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=9ee4d3b9c7e2131f274c5d1eb2bfcd009a92c765.camel@dubeyko.com \
--to=slava@dubeyko.com \
--cc=frank.li@vivo.com \
--cc=glaubitz@physik.fu-berlin.de \
--cc=jkoolstra@xs4all.nl \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mehdi.benhadjkhelifa@gmail.com \
--cc=penguin-kernel@I-love.SAKURA.ne.jp \
--cc=shardul.b@mpiricsoftware.com \
--cc=torvalds@linux-foundation.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®