git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6ee8cd
)
Check validity of cl_rpcclient in nfs_server_list_show
author
Malahal Naineni
<malahal@us.ibm.com>
Wed, 21 Sep 2011 00:27:14 +0000
(17:27 -0700)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Thu, 20 Oct 2011 23:44:04 +0000
(18:44 -0500)
As soon as the nfs_client gets created, its cl_rpcclient is set to
ERR_PTR(-EINVAL). The rpc client structure is allocated later. Check
if the client is ready before using the cl_rpcclient pointer.
Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
No differences found