Merge 4b6c6bc6fa ("Merge tag 'vfs-7.0-rc1.rust' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs") into android-mainline

Steps on the way to 7.0-rc1

Change-Id: I31bcbf49ba718c635d815eb138ec88b3e258b084
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman committed 2026-02-12 08:20:06 +01:00
commit ea7a5a309f
3 files changed
+9 -6

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@
#include <linux/fs.h>
struct file *rust_helper_get_file(struct file *f)
__rust_helper struct file *rust_helper_get_file(struct file *f)
{
return get_file(f);
}
+5 -3
View File
@@ -3,18 +3,20 @@
#include <linux/pid_namespace.h>
#include <linux/cleanup.h>
struct pid_namespace *rust_helper_get_pid_ns(struct pid_namespace *ns)
__rust_helper struct pid_namespace *
rust_helper_get_pid_ns(struct pid_namespace *ns)
{
return get_pid_ns(ns);
}
void rust_helper_put_pid_ns(struct pid_namespace *ns)
__rust_helper void rust_helper_put_pid_ns(struct pid_namespace *ns)
{
put_pid_ns(ns);
}
/* Get a reference on a task's pid namespace. */
struct pid_namespace *rust_helper_task_get_pid_ns(struct task_struct *task)
__rust_helper struct pid_namespace *
rust_helper_task_get_pid_ns(struct task_struct *task)
{
struct pid_namespace *pid_ns;
+3 -2
View File
@@ -3,8 +3,9 @@
#include <linux/export.h>
#include <linux/poll.h>
void rust_helper_poll_wait(struct file *filp, wait_queue_head_t *wait_address,
poll_table *p)
__rust_helper void rust_helper_poll_wait(struct file *filp,
wait_queue_head_t *wait_address,
poll_table *p)
{
poll_wait(filp, wait_address, p);
}