mirror of
https://github.com/torvalds/linux.git
synced 2025-11-01 00:58:39 +02:00
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 <brauner@kernel.org> Reviewed-by: Andreas Hindborg <a.hindborg@kernel.org> Signed-off-by: Alice Ryhl <aliceryhl@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/r/20250822-iov-iter-v5-3-6ce4819c2977@google.com
11 lines
226 B
Rust
11 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;
|