[PATCH] knfsd: nfsd4: Fix error handling in nfsd's callback client
authorJ. Bruce Fields <bfields@fieldses.org>
Tue, 17 Oct 2006 07:10:16 +0000 (00:10 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 17 Oct 2006 15:18:46 +0000 (08:18 -0700)
commit0942176f4353ffebcd6e3f95abce9fd8e24f2cb1
tree9a1d63914b9e13f9f01ebb31aa747c18c8998dcb
parent9801d8a39cfe6c34f39f9552a246a6bd002e735e
[PATCH] knfsd: nfsd4: Fix error handling in nfsd's callback client

Coverity noticed that the error handling code in the NFSv4 callback client
sets cb->cb_client to NULL, then calls rpc_shutdown_client with the NULL
pointer.

Coverity: #cid 1397

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
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/nfs4callback.c