]> Git Repo - linux.git/commit - fs/cifs/file.c
CIFS: Fix an issue with re-sending rdata when transport returning -EAGAIN
authorLong Li <[email protected]>
Fri, 15 Mar 2019 07:55:00 +0000 (07:55 +0000)
committerSteve French <[email protected]>
Sat, 23 Mar 2019 03:36:54 +0000 (22:36 -0500)
commit0b0dfd59216755cfa5a47eab2811efaa4589db68
tree0b2ff94078470eba4bb0152a616c1033a4e4113a
parentd53e292f0f505783d0219f58f8f8f294f45f4ee6
CIFS: Fix an issue with re-sending rdata when transport returning -EAGAIN

When sending a rdata, transport may return -EAGAIN. In this case
we should re-obtain credits because the session may have been
reconnected.

Change in v2: adjust_credits before re-sending

Signed-off-by: Long Li <[email protected]>
Signed-off-by: Steve French <[email protected]>
Reviewed-by: Pavel Shilovsky <[email protected]>
fs/cifs/file.c
This page took 0.049545 seconds and 4 git commands to generate.