[GIT PULL 06/12 for v6.18] rust

From: Christian Brauner

Date: Fri Sep 26 2025 - 10:19:13 EST


Hey Linus,

/* Summary */
This contains a few minor vfs rust changes:

* Add the pid namespace Rust wrappers to the correct MAINTAINERS entry.

* Use to_result() in the Rust file error handling code.

* Update imports for fs and pid_namespce Rust wrappers.

/* Testing */

gcc (Debian 14.2.0-19) 14.2.0
Debian clang version 19.1.7 (3+b1)

No build failures or warnings were observed.

/* Conflicts */

Merge conflicts with mainline
=============================

No known conflicts.

Merge conflicts with other trees
================================

No known conflicts.

The following changes since commit 8f5ae30d69d7543eee0d70083daf4de8fe15d585:

Linux 6.17-rc1 (2025-08-10 19:41:16 +0300)

are available in the Git repository at:

git@xxxxxxxxxxxxxxxxxxx:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.18-rc1.rust

for you to fetch changes up to c37adf34a5dc511e017b5a3bab15fe3171269e46:

rust: file: use to_result for error handling (2025-09-01 13:55:22 +0200)

Please consider pulling these changes from the signed vfs-6.18-rc1.rust tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.18-rc1.rust

----------------------------------------------------------------
Alice Ryhl (1):
pid: add Rust files to MAINTAINERS

Onur Özkan (1):
rust: file: use to_result for error handling

Shankari Anand (2):
rust: pid_namespace: update AlwaysRefCounted imports from sync::aref
rust: fs: update ARef and AlwaysRefCounted imports from sync::aref

MAINTAINERS | 1 +
rust/kernel/fs/file.rs | 10 +++++-----
rust/kernel/pid_namespace.rs | 5 +----
3 files changed, 7 insertions(+), 9 deletions(-)