diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2013-09-04 20:26:05 +0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-09-04 20:26:30 +0400 |
commit | b6a85258d8223a87e7ecf25791e634617a159f79 (patch) | |
tree | e1c4bd82ea3a3bf3310f7b42d285162a7ff7e3c0 /drivers/firmware | |
parent | 1cec16abf23d644b0e261956cb2b37a668354f5a (diff) | |
download | linux-b6a85258d8223a87e7ecf25791e634617a159f79.tar.xz |
NFS: Fix warning introduced by NFSv4.0 transport blocking patches
When CONFIG_NFS_V4_1 is not enabled, gcc emits this warning:
linux/fs/nfs/nfs4state.c:255:12: warning:
‘nfs4_begin_drain_session’ defined but not used [-Wunused-function]
static int nfs4_begin_drain_session(struct nfs_client *clp)
^
Eventually NFSv4.0 migration recovery will invoke this function, but
that has not yet been merged. Hide nfs4_begin_drain_session()
behind CONFIG_NFS_V4_1 for now.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions