NFSv4.1: Fix an Oops in nfs41_walk_client_list
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 21 Jan 2015 19:37:44 +0000 (14:37 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Feb 2015 06:35:36 +0000 (22:35 -0800)
commit535516f21ff0e7272e44496c575e3e6c4aa74342
treede3043c6d99787c9980b88ebdc897d418bca1ea3
parent8e70c526add70fd1aad3b5c12c9ca56a8e7b63ef
NFSv4.1: Fix an Oops in nfs41_walk_client_list

commit 3175e1dcec40fab1a444c010087f2068b6b04732 upstream.

If we start state recovery on a client that failed to initialise correctly,
then we are very likely to Oops.

Reported-by: "Mkrtchyan, Tigran" <tigran.mkrtchyan@desy.de>
Link: http://lkml.kernel.org/r/130621862.279655.1421851650684.JavaMail.zimbra@desy.de
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/nfs4client.c