From: Malahal Naineni Date: Wed, 21 Sep 2011 00:27:14 +0000 (-0700) Subject: Check validity of cl_rpcclient in nfs_server_list_show X-Git-Tag: v3.2-rc1~176^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=940aab490215424a269f93d2eba2794fc8b3e269;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed