From: Pavel Shilovsky Date: Thu, 19 Jun 2014 12:15:16 +0000 (+0400) Subject: CIFS: Fix wsize usage in writepages X-Git-Tag: cleanup-for-v3.18~61^2~24 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66231a47965c551d3056d5104f8b06688065748c;p=pandora-kernel.git 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 Signed-off-by: Pavel Shilovsky Signed-off-by: Steve French --- Reading git-diff-tree failed