diff options
| author | 2026-04-19 14:52:59 -0400 | |
|---|---|---|
| committer | 2026-05-10 12:41:08 -0400 | |
| commit | 4f8ef58c10bfe5f86a643c7c8331b37e69e3dae1 (patch) | |
| tree | b73d9538ab3ba34864fc7e44c46bc8e46ab11791 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | sunrpc: start cache request seqno at 1 to fix netlink GET_REQS (diff) | |
NFSD: Fix infinite loop in layout state revocation
find_one_sb_stid() skips stids whose sc_status is non-zero, but the
SC_TYPE_LAYOUT case in nfsd4_revoke_states() never sets sc_status
before calling nfsd4_close_layout(). The retry loop therefore finds
the same layout stid on every iteration, hanging the revoker
indefinitely.
Fixes: 1e33e1414bec ("nfsd: allow layout state to be admin-revoked.")
Reported-by: Dai Ngo <dai.ngo@oracle.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Tested-by: Dai Ngo <dai.ngo@oracle.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
