]> git.ipfire.org Git - thirdparty/linux.git/commit
fs: expand dump_inode()
authorMateusz Guzik <mjguzik@gmail.com>
Thu, 11 Sep 2025 06:56:41 +0000 (08:56 +0200)
committerChristian Brauner <brauner@kernel.org>
Mon, 15 Sep 2025 12:31:03 +0000 (14:31 +0200)
commitcde560f98a9b6e64dd675f6bd10137cc8243a32a
treebdf817c77b88a3fd437d03aa2eb5a5ee4a8f7f5d
parent90ccf10de527c0c9b117beddd09ee7ac38efaa5b
fs: expand dump_inode()

This adds fs name and few fields from struct inode: i_mode, i_opflags,
i_flags, i_state and i_count.

All values printed raw, no attempt to pretty-print anything.

Compile tested on i386 and runtime tested on amd64.

Sample output:
[   23.121281] VFS_WARN_ON_INODE("crap") encountered for inode ffff9a1a83ce3660
               fs pipefs mode 10600 opflags 0x4 flags 0x0 state 0x38 count 0

Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
fs/inode.c