summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-08-11 03:32:55 +0200
committerDarrick J. Wong <djwong@kernel.org>2021-08-16 21:12:52 +0200
commitb69eea82d37d9ee7cfb3bf05103549dd4ed5ffc3 (patch)
treee3b66e6d938ed956593baa51616677ca6469dc46 /arch
parentiomap: Add another assertion to inline data handling (diff)
downloadlinux-b69eea82d37d9ee7cfb3bf05103549dd4ed5ffc3.tar.xz
linux-b69eea82d37d9ee7cfb3bf05103549dd4ed5ffc3.zip
iomap: pass writeback errors to the mapping
Modern-day mapping_set_error has the ability to squash the usual negative error code into something appropriate for long-term storage in a struct address_space -- ENOSPC becomes AS_ENOSPC, and everything else becomes EIO. iomap squashes /everything/ to EIO, just as XFS did before that, but this doesn't make sense. Fix this by making it so that we can pass ENOSPC to userspace when writeback fails due to space problems. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions