diff options
author | Long Li <longli@microsoft.com> | 2018-12-06 04:51:06 +0000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-12-07 00:59:23 -0600 |
commit | 6ac79291fb7dae4402b306789b1cb85f84687e44 (patch) | |
tree | c8eb9fb92d22d8771064457c75ab43305ed89ac3 /drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | |
parent | c988de29ca161823db6a7125e803d597ef75b49c (diff) |
CIFS: Avoid returning EBUSY to upper layer VFS
EBUSY is not handled by VFS, and will be passed to user-mode. This is not
correct as we need to wait for more credits.
This patch also fixes a bug where rsize or wsize is used uninitialized when
the call to server->ops->wait_mtu_credits() fails.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Long Li <longli@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c')
0 files changed, 0 insertions, 0 deletions