diff options
| author | Paulo Alcantara <[email protected]> | 2025-03-17 19:39:22 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2025-03-17 22:33:13 +0000 |
| commit | 7643dbd9db09fffebb4a62cd27599f17f4148b17 (patch) | |
| tree | 53a3acc29d35d2ca5692fcf1723872660f27d0d4 /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | |
| parent | Linux 6.14-rc7 (diff) | |
| download | kernel-7643dbd9db09fffebb4a62cd27599f17f4148b17.tar.gz kernel-7643dbd9db09fffebb4a62cd27599f17f4148b17.zip | |
smb: client: don't retry IO on failed negprotos with soft mounts
If @server->tcpStatus is set to CifsNeedReconnect after acquiring
@ses->session_mutex in smb2_reconnect() or cifs_reconnect_tcon(), it
means that a concurrent thread failed to negotiate, in which case the
server is no longer responding to any SMB requests, so there is no
point making the caller retry the IO by returning -EAGAIN.
Fix this by returning -EHOSTDOWN to the callers on soft mounts.
Cc: David Howells <[email protected]>
Reported-by: Jay Shin <[email protected]>
Signed-off-by: Paulo Alcantara (Red Hat) <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions
