Re: [PATCH] fs: expand dump_inode()

From: Christian Brauner

Date: Mon Sep 15 2025 - 08:15:48 EST


On Tue, Sep 09, 2025 at 10:26:13AM +0200, Mateusz Guzik wrote:
> This adds fs name and few fields from struct inode: i_mode, i_opflags,
> i_flags and i_state.
>
> All values printed raw, no attempt to pretty-print anything.
>
> Compile tested on for i386 and runtime tested on amd64.
>
> Sample output:
> [ 31.450263] VFS_WARN_ON_INODE("crap") encountered for inode ffff9b10837a3240
> fs sockfs mode 140777 opflags c flags 0 state 100
>
> Signed-off-by: Mateusz Guzik <mjguzik@xxxxxxxxx>
> ---

Applied to vfs-6.18.misc.