On Thu, 29 Aug 2024, Mike Snitzer wrote: > + > +struct nfs_localio_ctx { > + struct nfsd_file *nf; > + struct nfsd_net *nn; > +}; struct nfsd_file contains "struct net *nf_net" which is initialised early. So this structure is redundant. Instead of exporting nfsd_file_put() to nfs-localio, export nfsd_file_local_put() (or whatever) which both does the nfs_serv_put() and the nfsd_file_put(). NeilBrown