]> Gentwo Git Trees - linux/.git/commit
Add error handling to minix filesystem for inode corruption detection
authorJori Koolstra <jkoolstra@xs4all.nl>
Tue, 4 Nov 2025 14:30:03 +0000 (15:30 +0100)
committerChristian Brauner <brauner@kernel.org>
Wed, 5 Nov 2025 12:45:21 +0000 (13:45 +0100)
commit21215ce7a95ae03891708028a8c805e5dc47395e
tree79bec36153cc3b06b068a97f7c95f9796280ba6b
parent3a8660878839faadb4f1a6dd72c3179c1df56787
Add error handling to minix filesystem for inode corruption detection

We would like to provide early and specific warnings of filesystem
corruption without running into generic WARN_ONs and BUG_ONs.
Towards this goal, ext4, e.g., has a EFSCORRUPTED errno and a
standardized inode corruption message format. This patch adds this
errno and message format to the minix filesystem.

Signed-off-by: Jori Koolstra <jkoolstra@xs4all.nl>
Link: https://patch.msgid.link/20251104143005.3283980-2-jkoolstra@xs4all.nl
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/minix/inode.c
fs/minix/minix.h