NFSv4: Fix two infinite loops in the mount code
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 27 Mar 2012 22:13:02 +0000 (18:13 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 28 Mar 2012 01:53:14 +0000 (21:53 -0400)
commit05e9cfb408b24debb3a85fd98edbfd09dd148881
tree47c4039701bf081a8b6e9209b65c1284f2183dd7
parent864cf9bf99f62d2095c8e6cc3a87af80b263984e
NFSv4: Fix two infinite loops in the mount code

We can currently loop forever in nfs4_lookup_root() and in
nfs41_proc_secinfo_no_name(), if the first iteration returns a
NFS4ERR_DELAY or something else that causes exception.retry to get
set.

Reported-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@vger.kernel.org
fs/nfs/nfs4proc.c