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

From: Trond Myklebust
Date: Tue Jun 05 2018 - 10:54:04 EST


On Mon, 4 Jun 2018 at 20:18, Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> Hi Trond,
>
> After merging the nfs tree, today's linux-next build (arm
> multi_v7_defconfig) produced this warning:
>
> fs/nfs/nfs4proc.c:910:13: warning: 'nfs4_layoutget_release' defined but not used [-Wunused-function]
> static void nfs4_layoutget_release(void *calldata)
> ^~~~~~~~~~~~~~~~~~~~~~
>
> Introduced by commit
>
> 30ae2412e90f ("pnfs: Fix manipulation of NFS_LAYOUT_FIRST_LAYOUTGET")
>
> in combination with
>
> 2409a976a299 ("pnfs: Add LAYOUTGET to OPEN of a new file")
>
> # CONFIG_NFS_V4_1 is not set

Thanks Stephen! I've appended a fix to the linux-next branch.

Cheers
Trond