diff options
Diffstat (limited to 'fs/nfs/callback.c')
-rw-r--r-- | fs/nfs/callback.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/nfs/callback.c b/fs/nfs/callback.c index ca3ac992028b..4c8459e5bdee 100644 --- a/fs/nfs/callback.c +++ b/fs/nfs/callback.c | |||
@@ -241,6 +241,10 @@ int nfs_callback_up(u32 minorversion, struct rpc_xprt *xprt) | |||
241 | ret = -ENOMEM; | 241 | ret = -ENOMEM; |
242 | goto out_err; | 242 | goto out_err; |
243 | } | 243 | } |
244 | /* As there is only one thread we need to over-ride the | ||
245 | * default maximum of 80 connections | ||
246 | */ | ||
247 | serv->sv_maxconn = 1024; | ||
244 | 248 | ||
245 | ret = svc_bind(serv, net); | 249 | ret = svc_bind(serv, net); |
246 | if (ret < 0) { | 250 | if (ret < 0) { |