From: J. Bruce Fields Date: Mon, 2 Aug 2010 18:12:44 +0000 (-0400) Subject: nfsd: fix startup/shutdown order bug X-Git-Tag: v2.6.36-rc1~496^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=774f8bbd9ef2e71d4ef4b89933d292091d31ca98;p=pandora-kernel.git nfsd: fix startup/shutdown order bug We must create the server before we can call init_socks or check the number of threads. Symptoms were a NULL pointer dereference in nfsd_svc(). Problem identified by Jeff Layton. Also fix a minor cleanup-on-error case in nfsd_startup(). Reported-by: Tetsuo Handa Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed