Skip to content
Snippets Groups Projects
user avatar
Olga Kornievskaia authored
JIRA: https://issues.redhat.com/browse/RHEL-74439



commit 45de52d034395c9e6146f7134f36cbdec7820691
Author: Olga Kornievskaia <okorniev@redhat.com>
Date:   Thu Jan 23 14:38:31 2025 -0500

    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: default avatarOlga Kornievskaia <okorniev@redhat.com>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>

Signed-off-by: default avatarOlga Kornievskaia <okorniev@redhat.com>
890dc115
History
Name Last commit Last update