diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2025-09-16 18:00:45 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-10-19 17:37:44 +0300 |
| commit | 9f0f659ea927a5c3cf655338ad6c37dc257f3460 (patch) | |
| tree | 9b1e647155ba2df8cd8b5ab143bcf4bc631c67e6 /scripts/gdb/linux/xarray.py | |
| parent | 8167718b599e341d8bdc34e3ee4283fc6a97c1a8 (diff) | |
| download | linux-9f0f659ea927a5c3cf655338ad6c37dc257f3460.tar.xz | |
iomap: error out on file IO when there is no inline_data buffer
[ Upstream commit 6a96fb653b6481ec73e9627ade216b299e4de9ea ]
Return IO errors if an ->iomap_begin implementation returns an
IOMAP_INLINE buffer but forgets to set the inline_data pointer.
Filesystems should never do this, but we could help fs developers (me)
fix their bugs by handling this more gracefully than crashing the
kernel.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/175803480324.966383.7414345025943296442.stgit@frogsfrogsfrogs
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/xarray.py')
0 files changed, 0 insertions, 0 deletions
