diff options
| author | Danilo Krummrich <[email protected]> | 2025-06-12 12:17:14 +0000 |
|---|---|---|
| committer | Danilo Krummrich <[email protected]> | 2025-06-13 21:46:59 +0000 |
| commit | 4b76fafb20dd4a2becb94949d78e86bc88006509 (patch) | |
| tree | 3a06be96165fa22eeedd8f54d3acb3671d4f9801 /rust/helpers/completion.c | |
| parent | rust: completion: implement initial abstraction (diff) | |
| download | kernel-4b76fafb20dd4a2becb94949d78e86bc88006509.tar.gz kernel-4b76fafb20dd4a2becb94949d78e86bc88006509.zip | |
rust: revocable: indicate whether `data` has been revoked already
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 <[email protected]>
Acked-by: Miguel Ojeda <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Danilo Krummrich <[email protected]>
Diffstat (limited to 'rust/helpers/completion.c')
0 files changed, 0 insertions, 0 deletions
