Re: [PATCH v2] rust: file: handle fd table teardown in file descriptor APIs

From: Georgios Androutsopoulos

Date: Thu Sep 24 2026 - 12:20:35 EST


On Thu, Sep 24, 2026 at 4:39 AM Alice Ryhl <aliceryhl@xxxxxxxxxx> wrote:
> This looks like it should ideally be on the C side instead.

I could move the `NULL` checks into the C helpers in `fs/file.c` that
currently dereference `current->files`. Since this would move the fix
into the VFS code, would it be okay to send this as v3 of this patch?

Best,
George