From a996495680c25e646ffb65ab0a660f49e4155737 Mon Sep 17 00:00:00 2001 From: Steve French Date: Fri, 21 Nov 2008 12:58:52 +0530 Subject: [PATCH] cifs: Fix error in smb_send2 Backport of upstream commit 61de800d33af585cb7e6f27b5cdd51029c6855cb for -stable. [CIFS] fix error in smb_send2 smb_send2 exit logic was strange, and with the previous change could cause us to fail large smb writes when all of the smb was not sent as one chunk. Acked-by: Jeff Layton Signed-off-by: Steve French Cc: Suresh Jayaraman Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed