diff mbox series

nfsd: don't EXPORT_SYMBOL nfsd4_ssc_init_umount_work()

Message ID 172178974983.18529.7196430427173527960@noble.neil.brown.name (mailing list archive)
State New
Headers show
Series nfsd: don't EXPORT_SYMBOL nfsd4_ssc_init_umount_work() | expand

Commit Message

NeilBrown July 24, 2024, 2:55 a.m. UTC
nfsd4_ssc_init_umount_work() is only used in the nfsd module, so there
is no neex to EXPORT it.

Signed-off-by: NeilBrown <neilb@suse.de>
---
 fs/nfsd/nfs4state.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Chuck Lever July 24, 2024, 6:41 p.m. UTC | #1
On Wed, Jul 24, 2024 at 12:55:49PM +1000, NeilBrown wrote:
> 
> nfsd4_ssc_init_umount_work() is only used in the nfsd module, so there
> is no neex to EXPORT it.
> 
> Signed-off-by: NeilBrown <neilb@suse.de>
> ---
>  fs/nfsd/nfs4state.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
> index a20c2c9d7d45..1795bd8e7ae9 100644
> --- a/fs/nfsd/nfs4state.c
> +++ b/fs/nfsd/nfs4state.c
> @@ -6268,7 +6268,6 @@ void nfsd4_ssc_init_umount_work(struct nfsd_net *nn)
>  	INIT_LIST_HEAD(&nn->nfsd_ssc_mount_list);
>  	init_waitqueue_head(&nn->nfsd_ssc_waitq);
>  }
> -EXPORT_SYMBOL_GPL(nfsd4_ssc_init_umount_work);
>  
>  /*
>   * This is called when nfsd is being shutdown, after all inter_ssc
> -- 
> 2.44.0
> 

Applied to nfsd-next (for v6.12). Thanks!
diff mbox series

Patch

diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index a20c2c9d7d45..1795bd8e7ae9 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -6268,7 +6268,6 @@  void nfsd4_ssc_init_umount_work(struct nfsd_net *nn)
 	INIT_LIST_HEAD(&nn->nfsd_ssc_mount_list);
 	init_waitqueue_head(&nn->nfsd_ssc_waitq);
 }
-EXPORT_SYMBOL_GPL(nfsd4_ssc_init_umount_work);
 
 /*
  * This is called when nfsd is being shutdown, after all inter_ssc