linux/net/sunrpc
KAMBAROV, ZAUR 7e8d7e3c9e [PATCH] coverity: sunrpc/xprt task null check
In __xprt_lock_write() we check to see if `task' is NULL, but in other places
we just go and dereference it.

`task' shouldn't be NULL anyway, so remove this test.

This defect was found automatically by Coverity Prevent, a static analysis
tool.

Signed-off-by: Zaur Kambarov <zkambarov@coverity.com>
Acked-by: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-07 18:23:47 -07:00
..
auth_gss [PATCH] RPC: [PATCH] improve rpcauthauth_create error returns 2005-06-22 16:07:16 -04:00
auth_null.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
auth_unix.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
auth.c [PATCH] RPC: [PATCH] improve rpcauthauth_create error returns 2005-06-22 16:07:16 -04:00
cache.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
clnt.c [PATCH] RPC: Ensure rpc calls respects the RPC_NOINTR flag 2005-06-22 16:07:30 -04:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pmap_clnt.c [PATCH] RPC: Allow multiple RPC client programs to share the same transport 2005-06-22 16:07:18 -04:00
rpc_pipe.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sched.c [PATCH] RPC: Shrink struct rpc_task by switching to wait_on_bit() 2005-06-22 16:07:07 -04:00
stats.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sunrpc_syms.c [PATCH] knfsd: nfsd4: fix probe_callback 2005-06-24 00:06:30 -07:00
svc.c [PATCH] RPC: Allow the sunrpc server to multiplex serveral programs on a single port 2005-06-22 16:07:22 -04:00
svcauth_unix.c [PATCH] create a kstrdup library function 2005-06-23 09:45:18 -07:00
svcauth.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
svcsock.c [PATCH] Cleanup patch for process freezing 2005-06-25 17:10:13 -07:00
sysctl.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
timer.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xdr.c [PATCH] RPC: Encode and decode arbitrary XDR arrays 2005-06-22 16:07:20 -04:00
xprt.c [PATCH] coverity: sunrpc/xprt task null check 2005-07-07 18:23:47 -07:00