]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rust: fs: add Kiocb struct
authorAlice Ryhl <aliceryhl@google.com>
Fri, 22 Aug 2025 08:42:34 +0000 (08:42 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Sep 2025 11:27:20 +0000 (13:27 +0200)
commit5e15de179a204ce26623d8468283ac04a0dc672f
treee1d13b23142ddf27fa0cddb1327a84907032c0af
parentce2e0829241ab96af9c8a12b511debc5e3188934
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 <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
rust/kernel/fs.rs
rust/kernel/fs/kiocb.rs [new file with mode: 0644]