aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
diff options
context:
space:
mode:
authorDavid Howells <[email protected]>2024-07-18 19:55:20 +0000
committerSteve French <[email protected]>2024-07-19 16:08:57 +0000
commitd2c5eb57b6da10f335c30356f9696bd667601e6a (patch)
treea586816aa82f595d833421294a79a64a13b7ba10 /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
parentcifs: Fix server re-repick on subrequest retry (diff)
downloadkernel-d2c5eb57b6da10f335c30356f9696bd667601e6a.tar.gz
kernel-d2c5eb57b6da10f335c30356f9696bd667601e6a.zip
cifs: Fix missing error code set
In cifs_strict_readv(), the default rc (-EACCES) is accidentally cleared by a successful return from netfs_start_io_direct(), such that if cifs_find_lock_conflict() fails, we don't return an error. Fix this by resetting the default error code. Fixes: 14b1cd25346b ("cifs: Fix locking in cifs_strict_readv()") Cc: [email protected] Signed-off-by: David Howells <[email protected]> Reviewed-by: Paulo Alcantara (Red Hat) <[email protected]> cc: Jeff Layton <[email protected]> cc: [email protected] cc: [email protected] cc: [email protected] Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions