From: Stanislav Kinsbursky Date: Thu, 6 Dec 2012 11:23:34 +0000 (+0300) Subject: nfsd: simplify NFSv4 state init and shutdown X-Git-Tag: v3.8-rc1~20^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=903d9bf0edebc9d9f06df125ab2bd57b4aa4e78e;p=pandora-kernel.git nfsd: simplify NFSv4 state init and shutdown This patch moves nfsd_startup_generic() and nfsd_shutdown_generic() calls to nfsd_startup_net() and nfsd_shutdown_net() respectively, which allows us to call nfsd_startup_net() instead of nfsd_startup() and makes the code look clearer. It also modifies nfsd_svc() and nfsd_shutdown() to check nn->nfsd_net_up instead of global nfsd_up. The latter is now used only for generic resources shutdown and is currently useless. It will replaced by NFSd users counter later in this series. Signed-off-by: Stanislav Kinsbursky Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed