aboutsummaryrefslogtreecommitdiff
path: root/fs/cifs/smberr.h
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2010-04-03 17:20:21 +0000
committerSteve French <sfrench@us.ibm.com>2010-04-03 17:20:21 +0000
commita24e2d7d8f512340991ef0a59cb5d08d491b8e98 (patch)
treeceda70bdfd41835725f951d026073056f38aed42 /fs/cifs/smberr.h
parent810627a013163cd294762d57c0ea2ec055ffe4f6 (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>
Diffstat (limited to 'fs/cifs/smberr.h')
0 files changed, 0 insertions, 0 deletions