]> git.ipfire.org Git - thirdparty/linux.git/commit
iomap: report file I/O errors to the VFS
authorDarrick J. Wong <djwong@kernel.org>
Tue, 13 Jan 2026 00:31:40 +0000 (16:31 -0800)
committerChristian Brauner <brauner@kernel.org>
Tue, 13 Jan 2026 08:58:01 +0000 (09:58 +0100)
commita9d573ee88af980f14fdadb5c12bbf6a195fb3f1
treed8edcd0712ec63a1466667f050c937ece8a1259f
parent21945e6cb5168395d7d6f9052cd16ec4eac13973
iomap: report file I/O errors to the VFS

Wire up iomap so that it reports all file read and write errors to the
VFS (and hence fsnotify) via the new fserror mechanism.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Link: https://patch.msgid.link/176826402631.3490369.729008983502742314.stgit@frogsfrogsfrogs
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/iomap/buffered-io.c
fs/iomap/direct-io.c
fs/iomap/ioend.c