diff options
| author | Pekka Ristola <[email protected]> | 2025-05-27 20:48:59 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2025-05-30 05:12:05 +0000 |
| commit | 946026ba4293a14970b4b0b72f5f0cbb698ad77e (patch) | |
| tree | 1bd5b64055a4dbda350ab0ee0bad481a31069a19 /mm/filemap.c | |
| parent | rust: file: mark `LocalFile` as `repr(transparent)` (diff) | |
| download | kernel-946026ba4293a14970b4b0b72f5f0cbb698ad77e.tar.gz kernel-946026ba4293a14970b4b0b72f5f0cbb698ad77e.zip | |
rust: file: improve safety comments
Some of the safety comments in `LocalFile`'s methods incorrectly refer to
the `File` type instead of `LocalFile`, so fix them to use the correct
type.
Also add missing Markdown code spans around lifetimes in the safety
comments, i.e. change 'a to `'a`.
Link: https://github.com/Rust-for-Linux/linux/issues/1165
Signed-off-by: Pekka Ristola <[email protected]>
Link: https://lore.kernel.org/[email protected]
Reviewed-by: Benno Lossin <[email protected]>
Reviewed-by: Alice Ryhl <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions
