diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2014-06-19 14:15:16 +0200 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2014-08-02 08:23:02 +0200 |
commit | 66231a47965c551d3056d5104f8b06688065748c (patch) | |
tree | e0cd7960963fd8cdec2833724be99c29b6aeab8c /fs/cifs/cifssmb.c | |
parent | CIFS: Separate pages initialization from writepages (diff) | |
download | linux-66231a47965c551d3056d5104f8b06688065748c.tar.xz linux-66231a47965c551d3056d5104f8b06688065748c.zip |
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/cifssmb.c')
0 files changed, 0 insertions, 0 deletions