commit | 69cebd75606f8b9162ad5d0104367370ceabeeba | [log] [tgz] |
---|---|---|
author | Pavel Shilovsky <pshilovsky@samba.org> | Tue Jun 24 13:42:03 2014 +0400 |
committer | Steve French <smfrench@gmail.com> | Sat Aug 02 01:23:03 2014 -0500 |
tree | 7f7056934a1879fa266be7d9c116c39fd94ab857 | |
parent | 387eb92ac6892518fb67e423f65fcaca76e256a8 [diff] |
CIFS: Fix rsize usage in readpages If a server changes maximum buffer size for read (rsize) requests on reconnect we can fail on repeating with a big size buffer on -EAGAIN error in readpages. Fix this by checking rsize all the time before repeating requests. Reviewed-by: Shirish Pargaonkar <spargaonkar@suse.com> Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org> Signed-off-by: Steve French <smfrench@gmail.com>