Files
Alice Ryhl 5e15de179a rust: fs: add Kiocb struct
This adds a very simple Kiocb struct that lets you access the inner
file's private data and the file position. For now, nothing else is
supported.

Cc: Christian Brauner <[email protected]>
Reviewed-by: Andreas Hindborg <[email protected]>
Signed-off-by: Alice Ryhl <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
2025-09-06 13:27:20 +02:00

12 lines
226 B
Rust

// SPDX-License-Identifier: GPL-2.0
//! Kernel file systems.
//!
//! C headers: [`include/linux/fs.h`](srctree/include/linux/fs.h)
pub mod file;
pub use self::file::{File, LocalFile};
mod kiocb;
pub use self::kiocb::Kiocb;