Re: [PATCH] fs: minix: Fix handling of corrupted directories

From: Jan Kara
Date: Mon May 05 2025 - 06:19:38 EST


On Fri 02-05-25 18:27:08, Matthew Wilcox wrote:
> On Fri, May 02, 2025 at 07:50:57PM +0300, Andrey Kriulin wrote:
> > If the directory is corrupted and the number of nlinks is less than 2
>
> ... so should it be EIO or EFSCORRUPTED?

Well, EFSCORRUPTED is an internal define (to EUCLEAN) local to several
filesystems. So we'd need to lift that define to a generic code first.

Honza
--
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR