Re: [PATCH] fs: expand dump_inode()
From: Christian Brauner
Date: Mon Sep 15 2025 - 09:42:05 EST
On Mon, Sep 15, 2025 at 02:17:22PM +0200, Mateusz Guzik wrote:
> On Mon, Sep 15, 2025 at 2:15 PM Christian Brauner <brauner@xxxxxxxxxx> wrote:
> >
> > 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.
>
> I posted a v2: https://lore.kernel.org/linux-fsdevel/20250911065641.1564625-1-mjguzik@xxxxxxxxx/
Yeah, I picked that.