diff options
| author | Danilo Krummrich <dakr@kernel.org> | 2025-06-12 14:17:14 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-06 11:04:25 +0200 |
| commit | 3a142d245ace2db28c33f105be7fb8677f14dd68 (patch) | |
| tree | 13a0672b694f2f1fee1e36f87ba82d067f251267 /include/net/aligned_data.h | |
| parent | c0687ec5625b2261d48936d03c761e38657f4a4b (diff) | |
rust: revocable: indicate whether `data` has been revoked already
commit 4b76fafb20dd4a2becb94949d78e86bc88006509 upstream.
Return a boolean from Revocable::revoke() and Revocable::revoke_nosync()
to indicate whether the data has been revoked already.
Return true if the data hasn't been revoked yet (i.e. this call revoked
the data), false otherwise.
This is required by Devres in order to synchronize the completion of the
revoke process.
Reviewed-by: Benno Lossin <lossin@kernel.org>
Acked-by: Miguel Ojeda <ojeda@kernel.org>
Link: https://lore.kernel.org/r/20250612121817.1621-3-dakr@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
