2022-09-09 07:12:35

by Gaosheng Cui

[permalink] [raw]
Subject: [PATCH] nfsd: remove nfsd4_prepare_cb_recall() declaration

nfsd4_prepare_cb_recall() has been removed since
commit 0162ac2b978e ("nfsd: introduce nfsd4_callback_ops"),
so remove it.

Signed-off-by: Gaosheng Cui <[email protected]>
---
fs/nfsd/state.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h
index 5d28beb290fe..4155be65d806 100644
--- a/fs/nfsd/state.h
+++ b/fs/nfsd/state.h
@@ -697,7 +697,6 @@ extern int nfsd4_create_callback_queue(void);
extern void nfsd4_destroy_callback_queue(void);
extern void nfsd4_shutdown_callback(struct nfs4_client *);
extern void nfsd4_shutdown_copy(struct nfs4_client *clp);
-extern void nfsd4_prepare_cb_recall(struct nfs4_delegation *dp);
extern struct nfs4_client_reclaim *nfs4_client_to_reclaim(struct xdr_netobj name,
struct xdr_netobj princhash, struct nfsd_net *nn);
extern bool nfs4_has_reclaimed_state(struct xdr_netobj name, struct nfsd_net *nn);
--
2.25.1


2022-09-09 15:36:37

by Chuck Lever III

[permalink] [raw]
Subject: Re: [PATCH] nfsd: remove nfsd4_prepare_cb_recall() declaration



> On Sep 9, 2022, at 2:59 AM, Gaosheng Cui <[email protected]> wrote:
>
> nfsd4_prepare_cb_recall() has been removed since
> commit 0162ac2b978e ("nfsd: introduce nfsd4_callback_ops"),
> so remove it.
>
> Signed-off-by: Gaosheng Cui <[email protected]>

Applied to for-next (6.1). Thanks!


> ---
> fs/nfsd/state.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h
> index 5d28beb290fe..4155be65d806 100644
> --- a/fs/nfsd/state.h
> +++ b/fs/nfsd/state.h
> @@ -697,7 +697,6 @@ extern int nfsd4_create_callback_queue(void);
> extern void nfsd4_destroy_callback_queue(void);
> extern void nfsd4_shutdown_callback(struct nfs4_client *);
> extern void nfsd4_shutdown_copy(struct nfs4_client *clp);
> -extern void nfsd4_prepare_cb_recall(struct nfs4_delegation *dp);
> extern struct nfs4_client_reclaim *nfs4_client_to_reclaim(struct xdr_netobj name,
> struct xdr_netobj princhash, struct nfsd_net *nn);
> extern bool nfs4_has_reclaimed_state(struct xdr_netobj name, struct nfsd_net *nn);
> --
> 2.25.1
>

--
Chuck Lever