]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Fix a compiler warning when CONFIG_NFS_V4_1 is undefined
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 5 Jun 2018 14:38:39 +0000 (10:38 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 5 Jun 2018 14:38:39 +0000 (10:38 -0400)
commit19fe2cf6d01e18cc5f714f4f1ec45c9f0b539b72
tree35312e45a0afcb5529819c732a99c30a1b911288
parent153a45060f1f8b0a9393e62354e19808e7e778e0
NFSv4: Fix a compiler warning when CONFIG_NFS_V4_1 is undefined

Fix a compiler warning:
fs/nfs/nfs4proc.c:910:13: warning: 'nfs4_layoutget_release' defined but not used [-Wunused-function]
 static void nfs4_layoutget_release(void *calldata)
             ^~~~~~~~~~~~~~~~~~~~~~

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4proc.c