Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] fs: pre-existing fixes for the SB_RDONLY series
@ 2026-11-16  9:28 Christian Brauner
  2026-11-16  9:28 ` [PATCH 1/3] gfs2: don't BUG when remounting read-only after a withdraw during mount Christian Brauner
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Christian Brauner @ 2026-11-16  9:28 UTC (permalink / raw)
  To: linux-fsdevel
  Cc: Jan Kara, ecryptfs, linux-ext4, jfs-discussion, linux-nilfs,
	exfat, linux-mm, ntfs, ocfs2-devel, linux-btrfs, gfs2, linux-efi,
	linux-mtd, linux-xfs, Christian Brauner (Amutable), stable

Three fixes for pre-existing bugs that came up during review of the
SB_RDONLY series (cf. [1]). They don't depend on it and are all tagged
for stable. I'll put them in front of the series in vfs-7.5.super.

- gfs2 hits the BUG_ON() in gfs2_quota_cleanup() on a remount to
  read-only after a withdraw during mount. The withdraw work was never
  queued so SDF_JOURNAL_LIVE stays set.

- exfat marks the volume clean at umount or on a remount to read-only
  after a shutdown with EXFAT_GOING_DOWN_NOSYNC although it may be
  inconsistent.

- jfs takes a negative inode size from disk as is. A symlink with one
  is treated as a fast symlink and jfs_iget() writes out of bounds.

[1]: https://patch.msgid.link/20261113-work-fs-sb_rdonly-v3-0-0be92bb73709@kernel.org

Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
---
Christian Brauner (3):
      gfs2: don't BUG when remounting read-only after a withdraw during mount
      exfat: keep the volume marked dirty after a shutdown
      jfs: refuse inodes with a negative size

 fs/exfat/super.c     | 3 ++-
 fs/gfs2/incore.h     | 1 +
 fs/gfs2/ops_fstype.c | 5 +++++
 fs/gfs2/util.c       | 9 ++++++++-
 fs/gfs2/util.h       | 1 +
 fs/jfs/jfs_imap.c    | 4 ++++
 6 files changed, 21 insertions(+), 2 deletions(-)
---
base-commit: c339f4010dea8b0d754f84ace70cd1b089878ef8
change-id: 20261116-work-fs-sb_rdonly-fixes-d74c927f80b5



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

end of thread, other threads:[~2026-11-17  9:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-16  9:28 [PATCH 0/3] fs: pre-existing fixes for the SB_RDONLY series Christian Brauner
2026-11-16  9:28 ` [PATCH 1/3] gfs2: don't BUG when remounting read-only after a withdraw during mount Christian Brauner
2026-11-17  9:51   ` sashiko-bot
2026-11-16  9:28 ` [PATCH 2/3] exfat: keep the volume marked dirty after a shutdown Christian Brauner
2026-11-17  9:51   ` sashiko-bot
2026-11-16  9:28 ` [PATCH 3/3] jfs: refuse inodes with a negative size Christian Brauner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox