summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2026-01-12 16:32:27 -0800
committerChristian Brauner <brauner@kernel.org>2026-01-13 09:58:01 +0100
commit81d2e13a57c9d73582527966fae24d4fd73826ca (patch)
treee52c3eb668b2516eaa58e4cb6f38439c4c076a54 /include/linux
parent94503211d2fdcc5183d01c2719258a7795cdecb0 (diff)
ext4: convert to new fserror helpers
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@kernel.org> Link: https://patch.msgid.link/176826402693.3490369.5875002879192895558.stgit@frogsfrogsfrogs Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions