commit | a24e2d7d8f512340991ef0a59cb5d08d491b8e98 | [log] [tgz] |
---|---|---|
author | Steve French <sfrench@us.ibm.com> | Sat Apr 03 17:20:21 2010 +0000 |
committer | Steve French <sfrench@us.ibm.com> | Sat Apr 03 17:20:21 2010 +0000 |
tree | ceda70bdfd41835725f951d026073056f38aed42 | |
parent | 810627a013163cd294762d57c0ea2ec055ffe4f6 [diff] |
[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 <stable@kernel.org> Reviewed-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com> Reviewed-by: Jeff Layton <jlayton@samba.org> Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de> Signed-off-by: Steve French <sfrench@us.ibm.com>