Re: [PATCH] CIFS: return correct errors when pinning memory failed for direct I/O

2018-12-17 Thread Steve French
merged into cifs-2.6.git for-next On Sun, Dec 16, 2018 at 4:44 PM Long Li wrote: > > From: Long Li > > When pinning memory failed, we should return the correct error code and > rewind the SMB credits. > > Reported-by: Murphy Zhou > Signed-off-by: Long Li > Cc: sta...@vger.kernel.org > Cc:

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

2018-12-16 Thread Long Li
From: Long Li When pinning memory failed, we should return the correct error code and rewind the SMB credits. Reported-by: Murphy Zhou Signed-off-by: Long Li Cc: sta...@vger.kernel.org Cc: Murphy Zhou --- fs/cifs/file.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff