rust: block: add block related constants
authorAndreas Hindborg <a.hindborg@kernel.org>
Tue, 2 Sep 2025 09:55:05 +0000 (11:55 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 2 Sep 2025 11:23:56 +0000 (05:23 -0600)
commit19c37c91b4a0ff7abfc3dcfe165d1377939469ac
treef8288b4aeb4cda4b230146b3392ba7542b4a816e
parent8c32697c4edd4180bc90d367e54fb64490c230c6
rust: block: add block related constants

Add a few block subsystem constants to the rust `kernel::block` name space.
This makes it easier to access the constants from rust code.

Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com>
Signed-off-by: Andreas Hindborg <a.hindborg@kernel.org>
Link: https://lore.kernel.org/r/20250902-rnull-up-v6-16-v7-11-b5212cc89b98@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
rust/kernel/block.rs