diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/svc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index 407462ff4779..252552a685dc 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c | |||
@@ -367,11 +367,12 @@ static int svc_rpcb_setup(struct svc_serv *serv) | |||
367 | return 0; | 367 | return 0; |
368 | } | 368 | } |
369 | 369 | ||
370 | static void svc_rpcb_cleanup(struct svc_serv *serv) | 370 | void svc_rpcb_cleanup(struct svc_serv *serv) |
371 | { | 371 | { |
372 | svc_unregister(serv); | 372 | svc_unregister(serv); |
373 | rpcb_put_local(); | 373 | rpcb_put_local(); |
374 | } | 374 | } |
375 | EXPORT_SYMBOL_GPL(svc_rpcb_cleanup); | ||
375 | 376 | ||
376 | static int svc_uses_rpcbind(struct svc_serv *serv) | 377 | static int svc_uses_rpcbind(struct svc_serv *serv) |
377 | { | 378 | { |