[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20260113-mietzahlungen-leuchtdioden-dd50a4fe35b8@brauner>
Date: Tue, 13 Jan 2026 09:47:23 +0100
From: Christian Brauner <brauner@...nel.org>
To: Yuto Ohnuki <ytohnuki@...zon.com>
Cc: Christian Brauner <brauner@...nel.org>,
Mateusz Guzik <mjguzik@...il.com>,
linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org,
Alexander Viro <viro@...iv.linux.org.uk>,
Jan Kara <jack@...e.cz>
Subject: Re: [PATCH v3] fs: improve dump_inode() to safely access inode fields
On Mon, 12 Jan 2026 18:14:43 +0000, Yuto Ohnuki wrote:
> Use get_kernel_nofault() to safely access inode and related structures
> (superblock, file_system_type) to avoid crashing when the inode pointer
> is invalid. This allows the same pattern as dump_mapping().
>
> Note: The original access method for i_state and i_count is preserved,
> as get_kernel_nofault() is unnecessary once the inode structure is
> verified accessible.
>
> [...]
Applied to the vfs-7.0.misc branch of the vfs/vfs.git tree.
Patches in the vfs-7.0.misc branch should appear in linux-next soon.
Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.
It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.
Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-7.0.misc
[1/1] fs: improve dump_inode() to safely access inode fields
https://git.kernel.org/vfs/vfs/c/92828c00fcd3
Powered by blists - more mailing lists