summaryrefslogtreecommitdiff
path: root/fs/lockd
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2010-08-02 22:12:44 +0400
committerJ. Bruce Fields <bfields@redhat.com>2010-08-07 01:05:30 +0400
commit774f8bbd9ef2e71d4ef4b89933d292091d31ca98 (patch)
treebbc4afb785f31727b61279b1a026768d5953d60f /fs/lockd
parent039a87ca536a85bc169ce092e44bd57adfa1f563 (diff)
downloadlinux-774f8bbd9ef2e71d4ef4b89933d292091d31ca98.tar.xz
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 <penguin-kernel@I-love.SAKURA.ne.jp> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/lockd')
0 files changed, 0 insertions, 0 deletions