]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
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)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 7 Mar 2022 15:37:07 +0000 (16:37 +0100)
commit4ec47206026f28ce5bbf138d671e820bc06a91ef
treebe844860a8b5caad1003d6a90fb467f0d35d6b64
parentbe027ffb488ff5ed94d630be9df381f058647855
NFSv4: Update the stateid seqid in nfs_revoke_delegation()

BugLink: https://bugs.launchpad.net/bugs/1957986
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>
(cherry picked from commit f2d47b5502054749b278cdaf9cb9a60415cf884a)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
fs/nfs/delegation.c