Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b14b7979 authored by Chuck Lever's avatar Chuck Lever Committed by Trond Myklebust
Browse files

NFS: Fix return type of nfs4_end_drain_session() stub



Clean up: when NFSv4.1 support is compiled out,
nfs4_end_drain_session() becomes a stub.  Make the synopsis of the
stub match the synopsis of the real version of the function.

Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 275448eb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2116,7 +2116,7 @@ static int nfs4_bind_conn_to_session(struct nfs_client *clp)
}
#else /* CONFIG_NFS_V4_1 */
static int nfs4_reset_session(struct nfs_client *clp) { return 0; }
static int nfs4_end_drain_session(struct nfs_client *clp) { return 0; }
static void nfs4_end_drain_session(struct nfs_client *clp) { }

static int nfs4_bind_conn_to_session(struct nfs_client *clp)
{