Commit 4dd86e15 authored by Trond Myklebust's avatar Trond Myklebust Committed by J. Bruce Fields

NFSd: Remove 'inline' designation for free_client()

It is large, it is used in more than one place, and it is not performance
critical. Let gcc figure out whether it should be inlined...
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 12dd7ecf
...@@ -1093,7 +1093,7 @@ static struct nfs4_client *alloc_client(struct xdr_netobj name) ...@@ -1093,7 +1093,7 @@ static struct nfs4_client *alloc_client(struct xdr_netobj name)
return clp; return clp;
} }
static inline void static void
free_client(struct nfs4_client *clp) free_client(struct nfs4_client *clp)
{ {
struct nfsd_net __maybe_unused *nn = net_generic(clp->net, nfsd_net_id); struct nfsd_net __maybe_unused *nn = net_generic(clp->net, nfsd_net_id);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment