diff options
author | Pavel Shilovsky | 2014-06-25 16:19:02 +0400 |
---|---|---|
committer | Steve French | 2014-08-02 01:23:03 -0500 |
commit | e374d90f8a7693f24635bca9e5d56f3775bb36e2 (patch) | |
tree | 5be53f15accc65ab4ea25ccc8823540ad6c7aa3f /fs/cifs/cache.c | |
parent | 25f402598d2c8f0808d93715ad33e43b265c1604 (diff) |
CIFS: Fix rsize usage for sync read
If a server changes maximum buffer size for read requests (rsize)
on reconnect we can fail on repeating with a big size buffer on
-EAGAIN error in cifs_read. 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>
Diffstat (limited to 'fs/cifs/cache.c')
0 files changed, 0 insertions, 0 deletions