Subject: Re: linux-next: build warning after merge of the fscache tree

From: Stephen Rothwell <[email-masked]>
Date: Mon, 6 Dec 2021 18:08:36 +1100

Hi all,

On Tue, 30 Nov 2021 15:27:53 +1100 Stephen Rothwell <[email-masked]> wrote:
>
> After merging the fscache tree, today's linux-next build (arm64 defconfig)
> produced this warning:
> 
> fs/9p/vfs_addr.c: In function 'v9fs_release_page':
> fs/9p/vfs_addr.c:140:16: warning: unused variable 'inode' [-Wunused-variable]
>   140 |  struct inode *inode = folio_inode(folio);
>       |                ^~~~~
> 
> Introduced by commit
> 
>   12b841dc2cfd ("9p: Copy local writes to the cache when writing to the server")

Still getting this ... It will cause build failures for any config with
CONFIG_9P_FSCACHE not set and CONFIG_WERROR set

-- 
Cheers,
Stephen Rothwell