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

From: Stephen Rothwell <[email-masked]>
Date: Tue, 5 Jun 2018 10:17:41 +1000

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