[Devel] [PATCH 0/7] nfsd: cleanup "init_net" references

J. Bruce Fields bfields at fieldses.org
Mon Dec 10 04:34:13 PST 2012


On Mon, Dec 10, 2012 at 12:18:59PM +0300, Stanislav Kinsbursky wrote:
> Hard-coded "init_net" pointer is widely used in NFSd code.
> This patch replaces "init_net" references by passed struct net pointer where
> requied.
> In future, proper network namespace context will be taken from NFSd file
> system superblock private data or, where it's impossible, from current.

Thanks, applying.--b.

> 
> The following series implements...
> 
> ---
> 
> Stanislav Kinsbursky (7):
>       nfsd: use "init_net" for portmapper
>       nfsd: pass net to nfsd_init_socks()
>       nfsd: pass net to nfsd_startup() and nfsd_shutdown()
>       nfsd: pass net to nfsd_create_serv()
>       nfsd: pass net to nfsd_svc()
>       nfsd: pass net to nfsd_set_nrthreads()
>       nfsd: pass net to __write_ports() and down
> 
> 
>  fs/nfsd/nfsctl.c |   27 +++++++++++++++------------
>  fs/nfsd/nfsd.h   |    6 +++---
>  fs/nfsd/nfssvc.c |   35 ++++++++++++++---------------------
>  3 files changed, 32 insertions(+), 36 deletions(-)
> 



More information about the Devel mailing list