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

From: Stephen Rothwell
Date: Mon Jun 04 2018 - 20:18:09 EST


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

--
Cheers,
Stephen Rothwell

Attachment: pgppHA_tBZkHC.pgp
Description: OpenPGP digital signature