Lines Matching refs:old_delegation
436 struct nfs_delegation *delegation, *old_delegation;
454 old_delegation = rcu_dereference_protected(nfsi->delegation,
456 if (old_delegation == NULL)
459 if (nfs4_stateid_match_other(&old_delegation->stateid,
461 spin_lock(&old_delegation->lock);
462 nfs_update_inplace_delegation(old_delegation,
464 spin_unlock(&old_delegation->lock);
467 if (!test_bit(NFS_DELEGATION_REVOKED, &old_delegation->flags)) {
477 if (delegation->type == old_delegation->type ||
484 &old_delegation->flags))
487 freeme = nfs_detach_delegation_locked(nfsi, old_delegation, clp);