diff options
| author | Colin Ian King <[email protected]> | 2017-05-09 17:14:01 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2017-05-16 13:42:10 +0000 |
| commit | bff5baf8aa37a97293725a16c03f49872249c07e (patch) | |
| tree | 5e2f4bfcdd8c94f2c2730d735e3324849ec70068 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | btrfs: Make flush bios explicitely sync (diff) | |
| download | kernel-bff5baf8aa37a97293725a16c03f49872249c07e.tar.gz kernel-bff5baf8aa37a97293725a16c03f49872249c07e.zip | |
btrfs: fix incorrect error return ret being passed to mapping_set_error
The setting of return code ret should be based on the error code
passed into function end_extent_writepage and not on ret. Thanks
to Liu Bo for spotting this mistake in the original fix I submitted.
Detected by CoverityScan, CID#1414312 ("Logically dead code")
Fixes: 5dca6eea91653e ("Btrfs: mark mapping with error flag to report errors to userspace")
Signed-off-by: Colin Ian King <[email protected]>
Reviewed-by: Liu Bo <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
