• Trond Myklebust's avatar
    NFSv4: Fix delegation state recovery · 5eb8d18c
    Trond Myklebust authored
    Once we clear the NFS_DELEGATED_STATE flag, we're telling
    nfs_delegation_claim_opens() that we're done recovering all open state
    for that stateid, so we really need to ensure that we test for all
    open modes that are currently cached and recover them before exiting
    nfs4_open_delegation_recall().
    
    Fixes: 24311f88 ("NFSv4: Recovery of recalled read delegations...")
    Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
    Cc: stable@vger.kernel.org # v4.3+
    5eb8d18c
delegation.c 32.8 KB