diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2013-02-01 15:56:12 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2013-02-15 11:21:00 -0500 |
commit | 11f779421a39b86da8a523d97e5fd3477878d44f (patch) | |
tree | 5a2c01f75d57a1ff23dd0ecec56a378e2b34bb8d /fs/attr.c | |
parent | 1ac8362977b9ec75779170ac3074c7b36ab19b82 (diff) | |
download | linux-11f779421a39b86da8a523d97e5fd3477878d44f.tar.bz2 |
nfsd: containerize NFSd filesystem
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>
Diffstat (limited to 'fs/attr.c')
0 files changed, 0 insertions, 0 deletions