nfsd: per-net NFSd up flag introduced
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Thu, 6 Dec 2012 11:23:14 +0000 (14:23 +0300)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 10 Dec 2012 21:25:37 +0000 (16:25 -0500)
commit2c2fe2909e124c32a34dbbb3ac129112524fc540
treec96ad5c6af2e42654be6cd69380c34401356edb8
parent6ff50b3dea9a242b50642a703b513986bffb8ce9
nfsd: per-net NFSd up flag introduced

This patch introduces introduces per-net "nfsd_net_up" boolean flag, which has
the same purpose as general "nfsd_up" flag - skip init or shutdown of per-net
resources in case of they are inited on shutted down respectively.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/netns.h
fs/nfsd/nfssvc.c