summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMalahal Naineni <malahal@us.ibm.com>2011-09-21 02:27:14 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-10-21 01:44:04 +0200
commit940aab490215424a269f93d2eba2794fc8b3e269 (patch)
tree6dec5a3d9476fd3c409d7a73040e0eafb1eba756 /net
parentNFS: Get rid of the nfs_rdata_mempool (diff)
downloadlinux-940aab490215424a269f93d2eba2794fc8b3e269.tar.xz
linux-940aab490215424a269f93d2eba2794fc8b3e269.zip
Check validity of cl_rpcclient in nfs_server_list_show
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions