]> Gentwo Git Trees - linux/.git/commit
rust: file: add intra-doc link for 'EBADF'
authorTong Li <djfkvcing117@gmail.com>
Tue, 30 Sep 2025 11:02:58 +0000 (19:02 +0800)
committerChristian Brauner <brauner@kernel.org>
Tue, 7 Oct 2025 10:48:33 +0000 (12:48 +0200)
commitd68a29a6a229f8b4f3b19dbcd0bb02881316d642
treef040cc71a2433af850745f911c140482cad8891a
parentdeafd21efdd106f9744e2339e0c70c0f4ba565c3
rust: file: add intra-doc link for 'EBADF'

The `BadFdError` doc comment mentions the `EBADF` constant but does
not currently provide a navigation target for readers of the
generated docs. Turning the references into intra-doc links matches
the rest of the module and makes the documentation easier to
explore.

Suggested-by: Onur Özkan <work@onurozkan.dev>
Link: https://github.com/Rust-for-Linux/linux/issues/1186
Signed-off-by: Tong Li <djfkvcing117@gmail.com>
Reviewed-by: Onur Özkan <work@onurozkan.dev>
Signed-off-by: Christian Brauner <brauner@kernel.org>
rust/kernel/fs/file.rs