Skip to content
Commit 54e94ff9 authored by Long Li's avatar Long Li Committed by Steve French
Browse files

CIFS: return correct errors when pinning memory failed for direct I/O



When pinning memory failed, we should return the correct error code and
rewind the SMB credits.

Reported-by: default avatarMurphy Zhou <jencce.kernel@gmail.com>
Signed-off-by: default avatarLong Li <longli@microsoft.com>
Cc: stable@vger.kernel.org
Cc: Murphy Zhou <jencce.kernel@gmail.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent b6bc8a7b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment