summaryrefslogtreecommitdiff
path: root/fs/cifs/smb2ops.c
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilovsky@samba.org>2014-06-19 16:15:16 +0400
committerSteve French <smfrench@gmail.com>2014-08-02 01:23:02 -0500
commit66231a47965c551d3056d5104f8b06688065748c (patch)
treee0cd7960963fd8cdec2833724be99c29b6aeab8c /fs/cifs/smb2ops.c
parent90ac1387c2dfcd9b4bd302fce03b9ddff73d0093 (diff)
CIFS: Fix wsize usage in writepages
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 writepages. Fix this by checking wsize all the time before repeating request in writepages. 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/smb2ops.c')
0 files changed, 0 insertions, 0 deletions