OSDN Git Service

NFSv4: Update the stateid seqid in nfs_revoke_delegation()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 21 Oct 2019 18:15:32 +0000 (14:15 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 4 Nov 2019 02:28:46 +0000 (21:28 -0500)
commitf2d47b5502054749b278cdaf9cb9a60415cf884a
tree66c19b44f0727369c4006192bb3bf63f72d51dea
parentae084a32ee9230ca78c88d646efa0157b2dbca29
NFSv4: Update the stateid seqid in nfs_revoke_delegation()

If we revoke a delegation, but the stateid's seqid is newer, then
ensure we update the seqid when marking the delegation as revoked.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/delegation.c