From 6ec0b01b2691d1465bb7219e031e8bf38ccd9397 Mon Sep 17 00:00:00 2001 From: Pavel Shilovsky Date: Fri, 20 Jun 2014 16:30:46 +0400 Subject: [PATCH] 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-format-patch failed