Home
last modified time | relevance | path

Searched refs:old_delegation (Results 1 – 1 of 1) sorted by relevance

/fs/nfs/
Ddelegation.c436 struct nfs_delegation *delegation, *old_delegation; in nfs_inode_set_delegation() local
454 old_delegation = rcu_dereference_protected(nfsi->delegation, in nfs_inode_set_delegation()
456 if (old_delegation == NULL) in nfs_inode_set_delegation()
459 if (nfs4_stateid_match_other(&old_delegation->stateid, in nfs_inode_set_delegation()
461 spin_lock(&old_delegation->lock); in nfs_inode_set_delegation()
462 nfs_update_inplace_delegation(old_delegation, in nfs_inode_set_delegation()
464 spin_unlock(&old_delegation->lock); in nfs_inode_set_delegation()
467 if (!test_bit(NFS_DELEGATION_REVOKED, &old_delegation->flags)) { in nfs_inode_set_delegation()
477 if (delegation->type == old_delegation->type || in nfs_inode_set_delegation()
484 &old_delegation->flags)) in nfs_inode_set_delegation()
[all …]