• Trond Myklebust's avatar
    NFSv4: Fix an infinite loop in the NFS state recovery code · 027b6ca0
    Trond Myklebust authored
    Marten Gajda <marten.gajda@fernuni-hagen.de> states:
    
    I tracked the problem down to the function nfs4_do_open_expired.
    Within this function _nfs4_open_expired is called and may return
    -NFS4ERR_DELAY. When a further call to _nfs4_open_expired is
    executed and does not return -NFS4ERR_DELAY the "exception.retry"
    variable is not reset to 0, causing the loop to iterate again
    (and as long as err != -NFS4ERR_DELAY, probably forever)
    Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
    027b6ca0
nfs4proc.c 100 KB