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

From: Stephen Rothwell
Date: Mon Dec 06 2021 - 02:08:41 EST


Hi all,

On Tue, 30 Nov 2021 15:27:53 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> 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

Attachment: pgpjQUbcqBAg1.pgp
Description: OpenPGP digital signature