[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20260115152938.GD19200@macsyma.local>
Date: Thu, 15 Jan 2026 06:29:38 -0900
From: "Theodore Tso" <tytso@....edu>
To: "Darrick J. Wong" <djwong@...nel.org>
Cc: brauner@...nel.org, hch@....de, jack@...e.cz, linux-xfs@...r.kernel.org,
linux-ext4@...r.kernel.org, linux-fsdevel@...r.kernel.org,
gabriel@...sman.be, amir73il@...il.com
Subject: Re: [PATCH 6/6] ext4: convert to new fserror helpers
On Mon, Jan 12, 2026 at 04:32:27PM -0800, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@...nel.org>
>
> Use the new fserror functions to report metadata errors to fsnotify.
> Note that ext4 inconsistently passes around negative and positive error
> numbers all over the codebase, so we force them all to negative for
> consistency in what we report to fserror, and fserror ensures that only
> positive error numbers are passed to fanotify, per the fanotify(7)
> manpage.
>
> Signed-off-by: "Darrick J. Wong" <djwong@...nel.org>
> Reviewed-by: Christoph Hellwig <hch@....de>
> Reviewed-by: Jan Kara <jack@...e.cz>
Acked-by: Theodore Ts'o <tytso@....edu>
Powered by blists - more mailing lists