]> 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)
commita14ede83416b10940e91946eaca0e9ceb8ed7a2c
tree35312e45a0afcb5529819c732a99c30a1b911288
parentaece6185757cfa5ee5e78ea7c82a066765c15e5f
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