Skip to contentSkip to conversation

linux-next: build failure after merge of the btrfs tree

PATCH Stephen Rothwell 2 participants 2 messages Dec 17, 2025 – Dec 18, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the btrfs tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

In file included from fs/btrfs/disk-io.h:12,

                 from fs/btrfs/super.c:34:
fs/btrfs/bio.h:100:14: error: duplicate member 'can_use_append'
  100 |         bool can_use_append;
      |              ^~~~~~~~~~~~~~

(and several others similar)

Caused by commits

a9e53c29f361 ("btrfs: shrink the size of btrfs_bio") 009334649b08 ("btrfs: zoned: don't zone append to conventional zone")

interacting with commit

ad93f92010a1 ("btrfs: zoned: don't zone append to conventional zone")

from the btrfs-fixes tree.

I applied the following merge fix patch for today, but please clean up your trees.

From: Stephen Rothwell <[email protected]>
Date: Thu, 18 Dec 2025 09:21:11 +1100
Subject: [PATCH] fix up for "btrfs: shrink the size of btrfs_bio"

interacting with commit

ad93f92010a1 ("btrfs: zoned: don't zone append to conventional zone")

from the btrfs-fixes tree.

---
 fs/btrfs/bio.h | 3 ---
 1 file changed, 3 deletions(-)
fs/btrfs/bio.h +0 -3
index 4d0f416a8be0..157cdfa2f78a 100644
@@ -96,9 +96,6 @@ struct btrfs_bio {
 	/* Whether the bio is written using zone append. */
 	bool can_use_append:1;
 
-	/* Whether the bio is written using zone append. */
-	bool can_use_append;
-
 	/*
 	 * This member must come last, bio_alloc_bioset will allocate enough
 	 * bytes for entire btrfs_bio but relies on bio being last.
Signature · 5 lines
2.52.0

-- 
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 18 lines · Stephen Rothwell

Hi all,

After merging the btrfs tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

In file included from fs/btrfs/disk-io.h:12,

                 from fs/btrfs/super.c:34:
fs/btrfs/bio.h:100:14: error: duplicate member 'can_use_append'
  100 |         bool can_use_append;
      |              ^~~~~~~~~~~~~~

(and several others similar)

Caused by commits

a9e53c29f361 ("btrfs: shrink the size of btrfs_bio") 009334649b08 ("btrfs: zoned: don't zone append to conventional zone")

Quoted 8 lines

interacting with commit

ad93f92010a1 ("btrfs: zoned: don't zone append to conventional zone")

from the btrfs-fixes tree.

I applied the following merge fix patch for today, but please clean up your trees.

Thanks, I'd fixed the build failure locally but forgot to push the updated branch. It'll be fixed in todays for-next snapshot.