linux-next: build warning after merge of the nfs tree
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
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 12 lines · Stephen Rothwell
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 voidnfs4_layoutget_release(void *calldata)^~~~~~~~~~~~~~~~~~~~~~Introduced by commit
Quoted 7 lines
30ae2412e90f("pnfs: Fix manipulation ofNFS_LAYOUT_FIRST_LAYOUTGET")in combination with
2409a976a299("pnfs: Add LAYOUTGET to OPEN of a new file")#
CONFIG_NFS_V4_1is not set
Thanks Stephen! I've appended a fix to the linux-next branch.
Cheers
Trond