diff options
| author | Wedson Almeida Filho <[email protected]> | 2023-04-11 05:45:43 +0000 |
|---|---|---|
| committer | Miguel Ojeda <[email protected]> | 2023-04-21 22:20:00 +0000 |
| commit | 7b1f55e3a984aaed0121f90f9f8580f18b7b561e (patch) | |
| tree | 2963fe572363ca7b88310a2cf5ab014d2e8374e2 /rust/helpers.c | |
| parent | rust: introduce `current` (diff) | |
| download | kernel-7b1f55e3a984aaed0121f90f9f8580f18b7b561e.tar.gz kernel-7b1f55e3a984aaed0121f90f9f8580f18b7b561e.zip | |
rust: sync: introduce `LockedBy`
This allows us to have data protected by a lock despite not being
wrapped by it. Access is granted by providing evidence that the lock is
held by the caller.
Reviewed-by: Martin Rodriguez Reboredo <[email protected]>
Signed-off-by: Wedson Almeida Filho <[email protected]>
Reviewed-by: Benno Lossin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions
