forked from luck/tmp_suning_uos_patched
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: Trond Myklebust <trond.myklebust@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
parent
12dd7ecf23
commit
4dd86e150f
|
@ -1093,7 +1093,7 @@ static struct nfs4_client *alloc_client(struct xdr_netobj name)
|
|||
return clp;
|
||||
}
|
||||
|
||||
static inline void
|
||||
static void
|
||||
free_client(struct nfs4_client *clp)
|
||||
{
|
||||
struct nfsd_net __maybe_unused *nn = net_generic(clp->net, nfsd_net_id);
|
||||
|
|
Loading…
Reference in New Issue
Block a user