Commit ae084a32 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4: Clear the NFS_DELEGATION_REVOKED flag in nfs_update_inplace_delegation()



If the server sent us a new delegation stateid that is more recent than
the one that got revoked, then clear the NFS_DELEGATION_REVOKED flag.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent e0f07896
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -343,6 +343,7 @@ nfs_update_inplace_delegation(struct nfs_delegation *delegation,
		delegation->stateid.seqid = update->stateid.seqid;
		smp_wmb();
		delegation->type = update->type;
		clear_bit(NFS_DELEGATION_REVOKED, &delegation->flags);
	}
}