aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
diff options
context:
space:
mode:
authorBaokun Li <[email protected]>2024-05-04 15:55:26 +0800
committerTheodore Ts'o <[email protected]>2024-05-07 15:59:18 -0400
commitdc1c4663bc493f323d6b2f9dd55c044ea920dacf (patch)
tree02a25d49d7318b7e3e97843c826c5f0663b23afb /drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
parent0c0b4a49d3e7f49690a6827a41faeffad5df7e21 (diff)
ext4: propagate errors from ext4_sb_bread() in ext4_xattr_block_cache_find()
In ext4_xattr_block_cache_find(), when ext4_sb_bread() returns an error, we will either continue to find the next ea block or return NULL to try to insert a new ea block. But whether ext4_sb_bread() returns -EIO or -ENOMEM, the next operation is most likely to fail with the same error. So propagate the error returned by ext4_sb_bread() to make ext4_xattr_block_set() fail to reduce pointless operations. Signed-off-by: Baokun Li <[email protected]> Reviewed-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c')
0 files changed, 0 insertions, 0 deletions