[PATCH] knfsd: nfsd4: add missing rpciod_down()
authorNeilBrown <neilb@suse.de>
Tue, 11 Apr 2006 05:55:39 +0000 (22:55 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 11 Apr 2006 13:18:53 +0000 (06:18 -0700)
commit4e2fd495b520b51e4ba83340f13520b7f07e3743
tree91bc6f41267df3e19a71016546484edb7e648527
parent541e0e09814594e907e18fb8d9fc9b746aa4b18a
[PATCH] knfsd: nfsd4: add missing rpciod_down()

We should be shutting down rpciod for the callback channel when we shut down
the server.

Also note that we do rpciod_up() and create the callback client *before*
setting cb_set--the cb_set only determines whether the initial null was
succesful.  So cb_set is not a reliable determiner of whether we need to clean
up, only cb_client is.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfsd/nfs4state.c