From: Stanislav Kinsbursky Date: Thu, 6 Dec 2012 11:23:39 +0000 (+0300) Subject: nfsd: replace boolean nfsd_up flag by users counter X-Git-Tag: v3.8-rc1~20^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4539f14981ce02d48b212786a41c8bcfb62851b4;p=pandora-kernel.git nfsd: replace boolean nfsd_up flag by users counter Since we have generic NFSd resurces, we have to introduce some way how to allocate and destroy those resources on first per-net NFSd start and on last per-net NFSd stop respectively. This patch replaces global boolean nfsd_up flag (which is unused now) by users counter and use it to determine either we need to allocate generic resources or destroy them. Signed-off-by: Stanislav Kinsbursky Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed