]> git.karo-electronics.de Git - mv-sheeva.git/commit
nfsd: add a per-net-namespace struct for nfsd
authorJeff Layton <jlayton@redhat.com>
Wed, 21 Mar 2012 13:52:05 +0000 (09:52 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 26 Mar 2012 15:49:47 +0000 (11:49 -0400)
commit7ea34ac15e45b790f2faa7d5f69c560a43f2de70
tree1f44c11731e76f25036042d8b41231e42348e958
parentb3537c35c21f0e6750aa8bd786949b55509c6d0d
nfsd: add a per-net-namespace struct for nfsd

Eventually, we'll need this when nfsd gets containerized fully. For
now, create a struct on a per-net-namespace basis that will just hold
a pointer to the cld_net structure. That struct will hold all of the
per-net data that we need for the cld tracker.

Eventually we can add other pernet objects to struct nfsd_net.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/netns.h [new file with mode: 0644]
fs/nfsd/nfsctl.c