From: Pavel Shilovsky Date: Wed, 25 Jun 2014 12:19:02 +0000 (+0400) Subject: CIFS: Fix rsize usage for sync read X-Git-Tag: cleanup-for-v3.18~61^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e374d90f8a7693f24635bca9e5d56f3775bb36e2;p=pandora-kernel.git 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 Signed-off-by: Pavel Shilovsky Signed-off-by: Steve French --- Reading git-diff-tree failed