* linux-next: build failure after merge of the btrfs-fixes tree
@ 2026-01-20 12:07 Mark Brown
2026-01-20 12:22 ` Johannes Thumshirn
2026-01-20 16:18 ` David Sterba
0 siblings, 2 replies; 13+ messages in thread
From: Mark Brown @ 2026-01-20 12:07 UTC (permalink / raw)
To: David Sterba, Boris Burkov, Johannes Thumshirn, Qu Wenruo
Cc: Linux Kernel Mailing List, Linux Next Mailing List
Hi all,
After merging the btrfs-fixes tree, today's linux-next build
(arm64 defconfig) failed like this:
/tmp/next/build/fs/btrfs/free-space-tree.c: In function 'btrfs_delete_orphan_free_space_entries':
/tmp/next/build/fs/btrfs/free-space-tree.c:1765:9: error: implicit declaration of function 'BTRFS_PATH_AUTO_RELEASE'; did you mean 'BTRFS_PATH_AUTO_FREE'? [-Wimplicit-function-declaration]
1765 | BTRFS_PATH_AUTO_RELEASE(path);
| ^~~~~~~~~~~~~~~~~~~~~~~
| BTRFS_PATH_AUTO_FREE
/tmp/next/build/fs/btrfs/free-space-tree.c:1765:33: error: 'path' undeclared (first use in this function)
1765 | BTRFS_PATH_AUTO_RELEASE(path);
| ^~~~
/tmp/next/build/fs/btrfs/free-space-tree.c:1765:33: note: each undeclared identifier is reported only once for each function it appears in
/tmp/next/build/fs/btrfs/free-space-tree.c:1817:1: error: control reaches end of non-void function [-Werror=return-type]
1817 | }
| ^
cc1: some warnings being treated as errors
Caused by commit
7fcf8455f610b (btrfs: reject new transactions if the fs is fully read-only)
I have used the version from 20260119 instead.
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: linux-next: build failure after merge of the btrfs-fixes tree
2026-01-20 12:07 linux-next: build failure after merge of the btrfs-fixes tree Mark Brown
@ 2026-01-20 12:22 ` Johannes Thumshirn
2026-01-20 12:32 ` Mark Brown
2026-01-20 16:18 ` David Sterba
1 sibling, 1 reply; 13+ messages in thread
From: Johannes Thumshirn @ 2026-01-20 12:22 UTC (permalink / raw)
To: Mark Brown, David Sterba, Boris Burkov, WenRuo Qu
Cc: Linux Kernel Mailing List, Linux Next Mailing List
On 1/20/26 1:08 PM, Mark Brown wrote:
> Hi all,
>
> After merging the btrfs-fixes tree, today's linux-next build
> (arm64 defconfig) failed like this:
>
> /tmp/next/build/fs/btrfs/free-space-tree.c: In function 'btrfs_delete_orphan_free_space_entries':
> /tmp/next/build/fs/btrfs/free-space-tree.c:1765:9: error: implicit declaration of function 'BTRFS_PATH_AUTO_RELEASE'; did you mean 'BTRFS_PATH_AUTO_FREE'? [-Wimplicit-function-declaration]
> 1765 | BTRFS_PATH_AUTO_RELEASE(path);
> | ^~~~~~~~~~~~~~~~~~~~~~~
> | BTRFS_PATH_AUTO_FREE
> /tmp/next/build/fs/btrfs/free-space-tree.c:1765:33: error: 'path' undeclared (first use in this function)
> 1765 | BTRFS_PATH_AUTO_RELEASE(path);
> | ^~~~
> /tmp/next/build/fs/btrfs/free-space-tree.c:1765:33: note: each undeclared identifier is reported only once for each function it appears in
> /tmp/next/build/fs/btrfs/free-space-tree.c:1817:1: error: control reaches end of non-void function [-Werror=return-type]
> 1817 | }
> | ^
> cc1: some warnings being treated as errors
>
> Caused by commit
>
> 7fcf8455f610b (btrfs: reject new transactions if the fs is fully read-only)
>
> I have used the version from 20260119 instead.
>
This got introduced by
a08c5941d3ae ("btrfs: add mount time auto fix for orphan fst entries")
and 'BTRFS_PATH_AUTO_RELEASE()' got introduced by:
675af3c0fbd8 ("btrfs: introduce BTRFS_PATH_AUTO_RELEASE() helper")
which might be missing in for-next or btrfs-fixes?
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: linux-next: build failure after merge of the btrfs-fixes tree
2026-01-20 12:22 ` Johannes Thumshirn
@ 2026-01-20 12:32 ` Mark Brown
0 siblings, 0 replies; 13+ messages in thread
From: Mark Brown @ 2026-01-20 12:32 UTC (permalink / raw)
To: Johannes Thumshirn
Cc: David Sterba, Boris Burkov, WenRuo Qu, Linux Kernel Mailing List,
Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 641 bytes --]
On Tue, Jan 20, 2026 at 12:22:37PM +0000, Johannes Thumshirn wrote:
> On 1/20/26 1:08 PM, Mark Brown wrote:
> > /tmp/next/build/fs/btrfs/free-space-tree.c:1765:33: error: 'path' undeclared (first use in this function)
> > 1765 | BTRFS_PATH_AUTO_RELEASE(path);
> > | ^~~~
> This got introduced by
> a08c5941d3ae ("btrfs: add mount time auto fix for orphan fst entries")
> and 'BTRFS_PATH_AUTO_RELEASE()' got introduced by:
> 675af3c0fbd8 ("btrfs: introduce BTRFS_PATH_AUTO_RELEASE() helper")
> which might be missing in for-next or btrfs-fixes?
It's in for-next but not in btrfs-fixes.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: linux-next: build failure after merge of the btrfs-fixes tree
2026-01-20 12:07 linux-next: build failure after merge of the btrfs-fixes tree Mark Brown
2026-01-20 12:22 ` Johannes Thumshirn
@ 2026-01-20 16:18 ` David Sterba
2026-01-20 23:33 ` Qu Wenruo
1 sibling, 1 reply; 13+ messages in thread
From: David Sterba @ 2026-01-20 16:18 UTC (permalink / raw)
To: Mark Brown
Cc: Boris Burkov, Johannes Thumshirn, Qu Wenruo,
Linux Kernel Mailing List, Linux Next Mailing List
On Tue, Jan 20, 2026 at 12:07:58PM +0000, Mark Brown wrote:
> Hi all,
>
> After merging the btrfs-fixes tree, today's linux-next build
> (arm64 defconfig) failed like this:
>
> /tmp/next/build/fs/btrfs/free-space-tree.c: In function 'btrfs_delete_orphan_free_space_entries':
> /tmp/next/build/fs/btrfs/free-space-tree.c:1765:9: error: implicit declaration of function 'BTRFS_PATH_AUTO_RELEASE'; did you mean 'BTRFS_PATH_AUTO_FREE'? [-Wimplicit-function-declaration]
> 1765 | BTRFS_PATH_AUTO_RELEASE(path);
> | ^~~~~~~~~~~~~~~~~~~~~~~
> | BTRFS_PATH_AUTO_FREE
> /tmp/next/build/fs/btrfs/free-space-tree.c:1765:33: error: 'path' undeclared (first use in this function)
> 1765 | BTRFS_PATH_AUTO_RELEASE(path);
> | ^~~~
> /tmp/next/build/fs/btrfs/free-space-tree.c:1765:33: note: each undeclared identifier is reported only once for each function it appears in
> /tmp/next/build/fs/btrfs/free-space-tree.c:1817:1: error: control reaches end of non-void function [-Werror=return-type]
> 1817 | }
> | ^
> cc1: some warnings being treated as errors
>
> Caused by commit
>
> 7fcf8455f610b (btrfs: reject new transactions if the fs is fully read-only)
>
> I have used the version from 20260119 instead.
Sorry, I'll drop the patch from next-fixes.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: linux-next: build failure after merge of the btrfs-fixes tree
2026-01-20 16:18 ` David Sterba
@ 2026-01-20 23:33 ` Qu Wenruo
0 siblings, 0 replies; 13+ messages in thread
From: Qu Wenruo @ 2026-01-20 23:33 UTC (permalink / raw)
To: dsterba, Mark Brown
Cc: Boris Burkov, Johannes Thumshirn, Linux Kernel Mailing List,
Linux Next Mailing List
在 2026/1/21 02:48, David Sterba 写道:
> On Tue, Jan 20, 2026 at 12:07:58PM +0000, Mark Brown wrote:
>> Hi all,
>>
>> After merging the btrfs-fixes tree, today's linux-next build
>> (arm64 defconfig) failed like this:
>>
>> /tmp/next/build/fs/btrfs/free-space-tree.c: In function 'btrfs_delete_orphan_free_space_entries':
>> /tmp/next/build/fs/btrfs/free-space-tree.c:1765:9: error: implicit declaration of function 'BTRFS_PATH_AUTO_RELEASE'; did you mean 'BTRFS_PATH_AUTO_FREE'? [-Wimplicit-function-declaration]
>> 1765 | BTRFS_PATH_AUTO_RELEASE(path);
>> | ^~~~~~~~~~~~~~~~~~~~~~~
>> | BTRFS_PATH_AUTO_FREE
>> /tmp/next/build/fs/btrfs/free-space-tree.c:1765:33: error: 'path' undeclared (first use in this function)
>> 1765 | BTRFS_PATH_AUTO_RELEASE(path);
>> | ^~~~
>> /tmp/next/build/fs/btrfs/free-space-tree.c:1765:33: note: each undeclared identifier is reported only once for each function it appears in
>> /tmp/next/build/fs/btrfs/free-space-tree.c:1817:1: error: control reaches end of non-void function [-Werror=return-type]
>> 1817 | }
>> | ^
>> cc1: some warnings being treated as errors
>>
>> Caused by commit
>>
>> 7fcf8455f610b (btrfs: reject new transactions if the fs is fully read-only)
>>
>> I have used the version from 20260119 instead.
>
> Sorry, I'll drop the patch from next-fixes.
Or should I update the patch to use traditional manual path releasing?
As this one may need to be backported for older kernels.
Thanks,
Qu
^ permalink raw reply [flat|nested] 13+ messages in thread
* linux-next: build failure after merge of the btrfs-fixes tree
@ 2026-01-29 12:51 Mark Brown
2026-02-02 14:57 ` Mark Brown
0 siblings, 1 reply; 13+ messages in thread
From: Mark Brown @ 2026-01-29 12:51 UTC (permalink / raw)
To: David Sterba; +Cc: Linux Kernel Mailing List, Linux Next Mailing List
Hi all,
After merging the btrfs-fixes tree, today's linux-next build
(arm64 defconfig) failed like this:
/tmp/next/build/fs/btrfs/bio.c: In function 'btrfs_split_bio':
/tmp/next/build/fs/btrfs/bio.c:102:13: error: 'struct btrfs_bio' has no member named 'can_use_append'
102 | bbio->can_use_append = orig_bbio->can_use_append;
| ^~
/tmp/next/build/fs/btrfs/bio.c:102:41: error: 'struct btrfs_bio' has no member named 'can_use_append'
102 | bbio->can_use_append = orig_bbio->can_use_append;
| ^~
/tmp/next/build/fs/btrfs/bio.c:104:13: error: 'struct btrfs_bio' has no member named 'is_remap'
104 | bbio->is_remap = orig_bbio->is_remap;
| ^~
/tmp/next/build/fs/btrfs/bio.c:104:35: error: 'struct btrfs_bio' has no member named 'is_remap'
104 | bbio->is_remap = orig_bbio->is_remap;
| ^~
Caused by commit
4b40b1c47f937 (btrfs: fix copying the flags of btrfs_bio after split)
I have used the version from 20260128 instead.
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: linux-next: build failure after merge of the btrfs-fixes tree
2026-01-29 12:51 Mark Brown
@ 2026-02-02 14:57 ` Mark Brown
2026-02-03 7:47 ` David Sterba
0 siblings, 1 reply; 13+ messages in thread
From: Mark Brown @ 2026-02-02 14:57 UTC (permalink / raw)
To: David Sterba; +Cc: Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 228 bytes --]
On Thu, Jan 29, 2026 at 12:51:15PM +0000, Mark Brown wrote:
> Hi all,
>
> After merging the btrfs-fixes tree, today's linux-next build
> (arm64 defconfig) failed like this:
This issue is still present in today's -next.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: linux-next: build failure after merge of the btrfs-fixes tree
2026-02-02 14:57 ` Mark Brown
@ 2026-02-03 7:47 ` David Sterba
0 siblings, 0 replies; 13+ messages in thread
From: David Sterba @ 2026-02-03 7:47 UTC (permalink / raw)
To: Mark Brown; +Cc: Linux Kernel Mailing List, Linux Next Mailing List
On Mon, Feb 02, 2026 at 02:57:25PM +0000, Mark Brown wrote:
> On Thu, Jan 29, 2026 at 12:51:15PM +0000, Mark Brown wrote:
> > Hi all,
> >
> > After merging the btrfs-fixes tree, today's linux-next build
> > (arm64 defconfig) failed like this:
>
> This issue is still present in today's -next.
I forgot to push the fixed branch, should be fixed in today's snapshot.
Thanks.
^ permalink raw reply [flat|nested] 13+ messages in thread
* linux-next: build failure after merge of the btrfs-fixes tree
@ 2024-03-17 22:17 Stephen Rothwell
2024-03-18 4:50 ` Anand Jain
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: Stephen Rothwell @ 2024-03-17 22:17 UTC (permalink / raw)
To: David Sterba
Cc: Anand Jain, David Sterba, Linux Kernel Mailing List,
Linux Next Mailing List, Christian Brauner
[-- Attachment #1: Type: text/plain, Size: 939 bytes --]
Hi all,
After merging the btrfs-fixes tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:
fs/btrfs/volumes.c: In function 'btrfs_scan_one_device':
fs/btrfs/volumes.c:1413:55: error: 'bdev_handle' undeclared (first use in this function)
1413 | if (btrfs_skip_registration(disk_super, path, bdev_handle->bdev->bd_dev,
| ^~~~~~~~~~~
fs/btrfs/volumes.c:1413:55: note: each undeclared identifier is reported only once for each function it appears in
Caused by commit
cc019bc0d55b ("btrfs: do not skip re-registration for the mounted device")
I have used the btrfs-fixes tree from next-20240315 for today.
This is actually caused by an interaction with commit
9ae061cf2a46 ("btrfs: port device access to file")
which has been in Linus' tree since March 12 (and linux-next since Feb 26).
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: linux-next: build failure after merge of the btrfs-fixes tree
2024-03-17 22:17 Stephen Rothwell
@ 2024-03-18 4:50 ` Anand Jain
2024-03-18 17:31 ` David Sterba
2024-03-18 18:58 ` David Sterba
2 siblings, 0 replies; 13+ messages in thread
From: Anand Jain @ 2024-03-18 4:50 UTC (permalink / raw)
To: Stephen Rothwell, David Sterba
Cc: David Sterba, Linux Kernel Mailing List, Linux Next Mailing List,
Christian Brauner
On 3/18/24 03:47, Stephen Rothwell wrote:
> Hi all,
>
> After merging the btrfs-fixes tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
> fs/btrfs/volumes.c: In function 'btrfs_scan_one_device':
> fs/btrfs/volumes.c:1413:55: error: 'bdev_handle' undeclared (first use in this function)
> 1413 | if (btrfs_skip_registration(disk_super, path, bdev_handle->bdev->bd_dev,
> | ^~~~~~~~~~~
> fs/btrfs/volumes.c:1413:55: note: each undeclared identifier is reported only once for each function it appears in
>
> Caused by commit
>
> cc019bc0d55b ("btrfs: do not skip re-registration for the mounted device")
>
> I have used the btrfs-fixes tree from next-20240315 for today.
>
> This is actually caused by an interaction with commit
>
> 9ae061cf2a46 ("btrfs: port device access to file")
>
Ah, unaware of this change. Thanks for the report.
A new fix, built on top of this change, has now been sent out.
As the Linux-next branch no longer has the commit cc019bc0d55b,
I've sent out the entire patch again.
https://lore.kernel.org/linux-btrfs/57a63f9905549f22618a85991b775fba76104412.1710732026.git.anand.jain@oracle.com/
Thanks, Anand
> which has been in Linus' tree since March 12 (and linux-next since Feb 26).
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: linux-next: build failure after merge of the btrfs-fixes tree
2024-03-17 22:17 Stephen Rothwell
2024-03-18 4:50 ` Anand Jain
@ 2024-03-18 17:31 ` David Sterba
2024-03-18 18:58 ` David Sterba
2 siblings, 0 replies; 13+ messages in thread
From: David Sterba @ 2024-03-18 17:31 UTC (permalink / raw)
To: Stephen Rothwell, Christian Brauner
Cc: Anand Jain, David Sterba, Linux Kernel Mailing List,
Linux Next Mailing List, Christian Brauner
On Mon, Mar 18, 2024 at 09:17:55AM +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the btrfs-fixes tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
> fs/btrfs/volumes.c: In function 'btrfs_scan_one_device':
> fs/btrfs/volumes.c:1413:55: error: 'bdev_handle' undeclared (first use in this function)
> 1413 | if (btrfs_skip_registration(disk_super, path, bdev_handle->bdev->bd_dev,
> | ^~~~~~~~~~~
> fs/btrfs/volumes.c:1413:55: note: each undeclared identifier is reported only once for each function it appears in
>
> Caused by commit
>
> cc019bc0d55b ("btrfs: do not skip re-registration for the mounted device")
>
> I have used the btrfs-fixes tree from next-20240315 for today.
>
> This is actually caused by an interaction with commit
>
> 9ae061cf2a46 ("btrfs: port device access to file")
>
> which has been in Linus' tree since March 12 (and linux-next since Feb 26).
I would really appreciate if all infrastructure changes to btrfs code
have CC:linux-btrfs@, the whole series "Open block devices as files" has
never been CCed so the build breakage is noticed only by accident. Also
I wonder why I have to repeatedly ask for that and why people think that
doing broad changes to code maintained by somebody else is ok.
There are 26 patches in linux-next intersecting fs/btrfs most of which I
see for the first time now. I don't have time to read fsdevel@ regularly
and act rather on events (i.e. CC or mails).
VFS is in the center of many other subsystems I understand that adding
the CC: manually is not feasible but scripting "if $path add CC:$subsys"
should be doable, namely when it's not just one-time job. Please try to
find some middle ground between efforts and patch workflow sanity.
Thanks for understanding.
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: linux-next: build failure after merge of the btrfs-fixes tree
2024-03-17 22:17 Stephen Rothwell
2024-03-18 4:50 ` Anand Jain
2024-03-18 17:31 ` David Sterba
@ 2024-03-18 18:58 ` David Sterba
2 siblings, 0 replies; 13+ messages in thread
From: David Sterba @ 2024-03-18 18:58 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Anand Jain, David Sterba, Linux Kernel Mailing List,
Linux Next Mailing List, Christian Brauner
On Mon, Mar 18, 2024 at 09:17:55AM +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the btrfs-fixes tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
> fs/btrfs/volumes.c: In function 'btrfs_scan_one_device':
> fs/btrfs/volumes.c:1413:55: error: 'bdev_handle' undeclared (first use in this function)
> 1413 | if (btrfs_skip_registration(disk_super, path, bdev_handle->bdev->bd_dev,
> | ^~~~~~~~~~~
> fs/btrfs/volumes.c:1413:55: note: each undeclared identifier is reported only once for each function it appears in
I've updated the for-next snapshot so it contains the updated version
that is based on top of the required changes. The same patch will be
also sent for merge.
^ permalink raw reply [flat|nested] 13+ messages in thread
[parent not found: <20200107082431.2b83a8ac@canb.auug.org.au>]
* Re: linux-next: build failure after merge of the btrfs-fixes tree
[not found] <20200107082431.2b83a8ac@canb.auug.org.au>
@ 2020-01-07 15:22 ` David Sterba
0 siblings, 0 replies; 13+ messages in thread
From: David Sterba @ 2020-01-07 15:22 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Linux Next Mailing List, Linux Kernel Mailing List, Josef
On Tue, Jan 07, 2020 at 08:24:31AM +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the btrfs-fixes tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
> fs/btrfs/inode.c: In function 'btrfs_unlink_subvol':
> fs/btrfs/inode.c:4283:16: error: 'inode' undeclared (first use in this function)
> 4283 | if (btrfs_ino(inode) == BTRFS_EMPTY_SUBVOL_DIR_OBJECTID) {
> | ^~~~~
>
> Caused by commit
>
> b225d1cb20cc ("btrfs: fix invalid removal of root ref")
>
> I have reverted that commit for today.
Updated next-fixes branch pushed.
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2026-02-03 7:47 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-20 12:07 linux-next: build failure after merge of the btrfs-fixes tree Mark Brown
2026-01-20 12:22 ` Johannes Thumshirn
2026-01-20 12:32 ` Mark Brown
2026-01-20 16:18 ` David Sterba
2026-01-20 23:33 ` Qu Wenruo
-- strict thread matches above, loose matches on Subject: below --
2026-01-29 12:51 Mark Brown
2026-02-02 14:57 ` Mark Brown
2026-02-03 7:47 ` David Sterba
2024-03-17 22:17 Stephen Rothwell
2024-03-18 4:50 ` Anand Jain
2024-03-18 17:31 ` David Sterba
2024-03-18 18:58 ` David Sterba
[not found] <20200107082431.2b83a8ac@canb.auug.org.au>
2020-01-07 15:22 ` David Sterba
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox