Re: [PATCH 1/1] nfsd: adjust WARN_ON_ONCE in revoke_delegation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Chuck Lever <chuck.lever@xxxxxxxxxx>

On Thu, 23 Jan 2025 14:38:31 -0500, Olga Kornievskaia wrote:
> 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.
> 
> 
> [...]

Applied to nfsd-testing, thanks!

[1/1] nfsd: adjust WARN_ON_ONCE in revoke_delegation
      commit: 82956213af9f2e299bf5842d80c9640c55b42c98

--
Chuck Lever





[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux