Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Jun 5, 2018 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw
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 void nfs4_layoutget_release(void *calldata)

             ^~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

Quoted 7 lines

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