From: Pavel Shilovsky Date: Fri, 20 Jun 2014 12:30:46 +0000 (+0400) Subject: CIFS: Fix wsize usage in iovec write X-Git-Tag: cleanup-for-v3.18~61^2~20 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ec0b01b2691d1465bb7219e031e8bf38ccd9397;p=pandora-kernel.git CIFS: Fix wsize usage in iovec write 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 iovec write. Fix this by checking wsize all the time before repeating request in iovec write. Reviewed-by: Shirish Pargaonkar Signed-off-by: Pavel Shilovsky Signed-off-by: Steve French --- Reading git-diff-tree failed