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

From: Stephen Rothwell <[email-masked]>
Date: Mon, 22 Aug 2022 09:44:40 +1000

Hi all,

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

fs/btrfs/extent_io.c: In function 'btrfs_do_readpage':
fs/btrfs/extent_io.c:3613:13: error: variable 'cur_end' set but not used [-Werror=unused-but-set-variable]
 3613 |         u64 cur_end;
      |             ^~~~~~~
fs/btrfs/inode.c: In function 'btrfs_get_extent':
fs/btrfs/inode.c:6872:32: error: unused variable 'io_tree' [-Werror=unused-variable]
 6872 |         struct extent_io_tree *io_tree = &inode->io_tree;
      |                                ^~~~~~~

Caused by commit

  a4ae8f42bbcf ("btrfs: remove unnecessary EXTENT_UPTODATE state in buffered I/O path")

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

-- 
Cheers,
Stephen Rothwell