From: Steve French Date: Sat, 3 Apr 2010 17:20:21 +0000 (+0000) Subject: [CIFS] initialize nbytes at the beginning of CIFSSMBWrite() X-Git-Tag: v2.6.34-rc4~17^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a24e2d7d8f512340991ef0a59cb5d08d491b8e98;p=pandora-kernel.git [CIFS] initialize nbytes at the beginning of CIFSSMBWrite() By doing this we always overwrite nbytes value that is being passed on to CIFSSMBWrite() and need not rely on the callers to initialize. CIFSSMBWrite2 is doing this already. CC: Stable Reviewed-by: Shirish Pargaonkar Reviewed-by: Jeff Layton Signed-off-by: Suresh Jayaraman Signed-off-by: Steve French --- Reading git-diff-tree failed