From: Alice Ryhl Date: Tue, 2 Dec 2025 19:37:42 +0000 (+0000) Subject: rust: fs: add __rust_helper to helpers X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b266a39eb2b484fc49866588bd70337b73839a69;p=thirdparty%2Flinux.git rust: fs: add __rust_helper to helpers This is needed to inline these helpers into Rust code. Signed-off-by: Alice Ryhl Link: https://patch.msgid.link/20251202-define-rust-helper-v1-18-a2e13cbc17a6@google.com Reviewed-by: Gary Guo Reviewed-by: Boqun Feng Signed-off-by: Christian Brauner --- diff --git a/rust/helpers/fs.c b/rust/helpers/fs.c index a75c967633724..789d60fb8908b 100644 --- a/rust/helpers/fs.c +++ b/rust/helpers/fs.c @@ -6,7 +6,7 @@ #include -struct file *rust_helper_get_file(struct file *f) +__rust_helper struct file *rust_helper_get_file(struct file *f) { return get_file(f); }