nfsd: containerize NFSd filesystem
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Fri, 1 Feb 2013 12:56:12 +0000 (15:56 +0300)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 15 Feb 2013 16:21:00 +0000 (11:21 -0500)
This patch makes NFSD file system superblock to be created per net.
This makes possible to get proper network namespace from superblock instead of
using hard-coded "init_net".

Note: NFSd fs super-block holds network namespace. This garantees, that
network namespace won't disappear from underneath of it.
This, obviously, means, that in case of kill of a container's "init" (which is not a mount
namespace, but network namespace creator) netowrk namespace won't be
destroyed.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>

No differences found