linux-next: manual merge of the vfs-brauner tree with the gfs2 tree
From: Mark Brown
Date: Tue Dec 01 2026 - 07:40:13 EST
Hi all,
Today's linux-next merge of the vfs-brauner tree got a conflict in:
fs/gfs2/util.c
between commit:
2e177e272b59c ("gfs2: fix withdraw after SDF_JOURNAL_LIVE clearing")
from the gfs2 tree and commit:
cb9a7305d280c ("gfs2: wait for a pending withdraw before remounting read-only")
from the vfs-brauner tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
diff --cc fs/gfs2/util.c
index c20d84100b99e,e720f73b7b24e..0000000000000
--- a/fs/gfs2/util.c
+++ b/fs/gfs2/util.c
@@@ -117,7 -117,11 +117,7 @@@ void gfs2_freeze_unlock(struct gfs2_sb
static void do_withdraw(struct gfs2_sbd *sdp)
{
down_write(&sdp->sd_log_flush_lock);
- clear_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags);
- if (!test_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags)) {
- up_write(&sdp->sd_log_flush_lock);
- return;
- }
+ clear_and_wake_up_bit(SDF_JOURNAL_LIVE, &sdp->sd_flags);
gfs2_ail_drain(sdp); /* frees all transactions */
up_write(&sdp->sd_log_flush_lock);
Attachment:
signature.asc
Description: PGP signature