aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorLogan Gunthorpe <[email protected]>2021-10-27 17:47:57 +0000
committerJoerg Roedel <[email protected]>2021-10-28 17:59:40 +0000
commitac315f96b3bd6f6b8f18f387816c7c2cc6b32e02 (patch)
treec3a51016dcaa56448fe795803ca95c94246fb50c /fs/ext4/fast_commit.c
parentLinux 5.15-rc7 (diff)
downloadkernel-ac315f96b3bd6f6b8f18f387816c7c2cc6b32e02.tar.gz
kernel-ac315f96b3bd6f6b8f18f387816c7c2cc6b32e02.zip
iommu/dma: Fix incorrect error return on iommu deferred attach
scsi_dma_map() was reporting a failure during boot on an AMD machine with the IOMMU enabled. scsi_dma_map failed: request for 36 bytes! The issue was tracked down to a mistake in logic: should not return an error if iommu_deferred_attach() returns zero. Reported-by: Marshall Midden <[email protected]> Fixes: dabb16f67215 ("iommu/dma: return error code from iommu_dma_map_sg()") Link: https://lore.kernel.org/all/CAD2CkAWjS8=kKwEEN4cgVNjyFORUibzEiCUA-X+SMtbo0JoMmA@mail.gmail.com Signed-off-by: Logan Gunthorpe <[email protected]> Cc: Joerg Roedel <[email protected]> Cc: Will Deacon <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions