[GIT PULL] gfs2 changes for 7.1

From: Andreas Gruenbacher

Date: Tue Apr 14 2026 - 08:21:36 EST


Dear Linus,

please consider pulling the following gfs2 changes for 7.1.

Thanks,
Andreas

The following changes since commit 7141433fbed290f4dd42008d3102db2363275035:

Merge tag 'gfs2-for-7.0' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 (2026-02-09 16:29:57 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git tags/gfs2-for-7.1

for you to fetch changes up to 74b4dbb946060a3233604d91859a9abd3708141d:

gfs2: prevent NULL pointer dereference during unmount (2026-04-07 22:20:00 +0200)

----------------------------------------------------------------
gfs2 changes

- Fix possible data loss during inode evict.

- Fix a race during bufdata allocation.

- More careful cleaning up during a withdraw.

- Prevent excessive log flushing under memory pressure.

- Various other minor fixes and cleanups.

----------------------------------------------------------------
Andreas Gruenbacher (18):
gfs2: Call unlock_new_inode before d_instantiate
gfs2: Remove unnecessary check in gfs2_evict_inode
gfs2: Avoid unnecessary transactions in evict_linked_inode
gfs2: minor evict_[un]linked_inode cleanup
gfs2: Fix data loss during inode evict
gfs2: less aggressive low-memory log flushing
gfs2: Get rid of gfs2_log_[un]lock helpers
gfs2: Move gfs2_remove_from_journal to log.c
gfs2: Remove trans_drain code duplication
gfs2: bufdata allocation race
gfs2: drain ail under sd_log_flush_lock
gfs2: fix address space truncation during withdraw
gfs2: add some missing log locking
gfs2: gfs2_log_flush withdraw fixes
gfs2: inode directory consistency checks
gfs2: wait for withdraw earlier during unmount
gfs2: hide error messages after withdraw
gfs2: prevent NULL pointer dereference during unmount

fs/gfs2/aops.c | 15 ++++---
fs/gfs2/bmap.c | 2 +-
fs/gfs2/glops.c | 13 ++++--
fs/gfs2/inode.c | 3 +-
fs/gfs2/log.c | 127 +++++++++++++++++++++++++++++++++++++++---------------
fs/gfs2/log.h | 26 +----------
fs/gfs2/lops.c | 16 +++----
fs/gfs2/meta_io.c | 43 ++----------------
fs/gfs2/meta_io.h | 1 -
fs/gfs2/rgrp.c | 2 +-
fs/gfs2/super.c | 111 ++++++++++++++++++++++++++++++++++++-----------
fs/gfs2/trans.c | 45 ++++++++++---------
fs/gfs2/util.c | 3 +-
13 files changed, 237 insertions(+), 170 deletions(-)