commit | 66231a47965c551d3056d5104f8b06688065748c | [log] [tgz] |
---|---|---|
author | Pavel Shilovsky <pshilovsky@samba.org> | Thu Jun 19 16:15:16 2014 +0400 |
committer | Steve French <smfrench@gmail.com> | Sat Aug 02 01:23:02 2014 -0500 |
tree | e0cd7960963fd8cdec2833724be99c29b6aeab8c | |
parent | 90ac1387c2dfcd9b4bd302fce03b9ddff73d0093 [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>