2023-01-13 00:00:37

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build failure after merge of the btrfs tree

Hi all,

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

fs/btrfs/disk-io.c: In function 'btrfs_init_fs_root':
fs/btrfs/disk-io.c:1531:22: warning: unused variable 'nofs_flag' [-Wunused-variable]
1531 | unsigned int nofs_flag;
| ^~~~~~~~~

Caused by commit

1556cd3d099a ("btrfs: locking: use atomic for DREW lock writers")

I have used the btrfs tree from next-20230112 for today.

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2023-01-13 11:19:16

by David Sterba

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the btrfs tree

On Fri, Jan 13, 2023 at 10:36:54AM +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the btrfs tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
>
> fs/btrfs/disk-io.c: In function 'btrfs_init_fs_root':
> fs/btrfs/disk-io.c:1531:22: warning: unused variable 'nofs_flag' [-Wunused-variable]
> 1531 | unsigned int nofs_flag;
> | ^~~~~~~~~

Will be fixed in the next for-next snapshot.