diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2014-06-20 16:30:46 +0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2014-08-02 01:23:02 -0500 |
commit | 6ec0b01b2691d1465bb7219e031e8bf38ccd9397 (patch) | |
tree | 739551116a7694306c4c081f762805f3a93a0ba4 /fs/cifs/netmisc.c | |
parent | 43de94eadf0ceda54509335343bdc1349a2c5ab3 (diff) |
CIFS: Fix wsize usage in iovec write
If a server change maximum buffer size for write (wsize) requests
on reconnect we can fail on repeating with a big size buffer on
-EAGAIN error in iovec write. Fix this by checking wsize all the
time before repeating request in iovec write.
Reviewed-by: Shirish Pargaonkar <spargaonkar@suse.com>
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/netmisc.c')
0 files changed, 0 insertions, 0 deletions