summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2014-04-18 22:43:58 +0400
committerJ. Bruce Fields <bfields@redhat.com>2014-05-07 01:54:53 +0400
commit4dd86e150f63a6c360783f163a979ec563e6d570 (patch)
treef47c24eb88b87a46471c9516f2e9b35068194371
parent12dd7ecf2323c572b1d302707eada4900848dced (diff)
downloadlinux-4dd86e150f63a6c360783f163a979ec563e6d570.tar.xz
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>
-rw-r--r--fs/nfsd/nfs4state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 32b699bebb9c..841495aa9170 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -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);