2023-07-31 07:02:46

by NeilBrown

[permalink] [raw]
Subject: [PATCH 03/12] FIXUP: SUNRPC: call svc_process() from svc_recv()

Now that svc_process() is called only by svc_recv(), it doesn't need to
be exported.

Signed-off-by: NeilBrown <[email protected]>
---
net/sunrpc/svc.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c
index cbfd4ac02a4d..f2971d94b4aa 100644
--- a/net/sunrpc/svc.c
+++ b/net/sunrpc/svc.c
@@ -1546,7 +1546,6 @@ void svc_process(struct svc_rqst *rqstp)
out_drop:
svc_drop(rqstp);
}
-EXPORT_SYMBOL_GPL(svc_process);

#if defined(CONFIG_SUNRPC_BACKCHANNEL)
/*
--
2.40.1



2023-07-31 14:44:15

by Chuck Lever III

[permalink] [raw]
Subject: Re: [PATCH 03/12] FIXUP: SUNRPC: call svc_process() from svc_recv()

On Mon, Jul 31, 2023 at 04:48:30PM +1000, NeilBrown wrote:
> Now that svc_process() is called only by svc_recv(), it doesn't need to
> be exported.
>
> Signed-off-by: NeilBrown <[email protected]>

Squashed.


> ---
> net/sunrpc/svc.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c
> index cbfd4ac02a4d..f2971d94b4aa 100644
> --- a/net/sunrpc/svc.c
> +++ b/net/sunrpc/svc.c
> @@ -1546,7 +1546,6 @@ void svc_process(struct svc_rqst *rqstp)
> out_drop:
> svc_drop(rqstp);
> }
> -EXPORT_SYMBOL_GPL(svc_process);
>
> #if defined(CONFIG_SUNRPC_BACKCHANNEL)
> /*
> --
> 2.40.1
>

--
Chuck Lever