summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2transport.c
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilovsky@samba.org>2014-06-20 14:30:46 +0200
committerSteve French <smfrench@gmail.com>2014-08-02 08:23:02 +0200
commit6ec0b01b2691d1465bb7219e031e8bf38ccd9397 (patch)
tree739551116a7694306c4c081f762805f3a93a0ba4 /fs/cifs/smb2transport.c
parentCIFS: Separate writing from iovec write (diff)
downloadlinux-6ec0b01b2691d1465bb7219e031e8bf38ccd9397.tar.xz
linux-6ec0b01b2691d1465bb7219e031e8bf38ccd9397.zip
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/smb2transport.c')
0 files changed, 0 insertions, 0 deletions