diff options
author | Olga Kornievskaia <okorniev@redhat.com> | 2025-01-23 14:38:31 -0500 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2025-03-10 09:10:55 -0400 |
commit | 45de52d034395c9e6146f7134f36cbdec7820691 (patch) | |
tree | 971ddf9ee00073b60858360dcb7102a551e95317 /tools/perf/scripts/python/parallel-perf.py | |
parent | d093c90892607be505e801469d6674459e69ab89 (diff) |
nfsd: adjust WARN_ON_ONCE in revoke_delegation
A WARN_ON_ONCE() is added to revoke delegations to make sure that the
state has been marked for revocation. However, that's only true for 4.1+
stateids. For 4.0 stateids, in unhash_delegation_locked() the sc_status
is set to SC_STATUS_CLOSED. Modify the check to reflect it, otherwise
a WARN_ON_ONCE is erronously triggered.
Signed-off-by: Olga Kornievskaia <okorniev@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions