diff options
author | Steve French <sfrench@us.ibm.com> | 2010-04-03 17:20:21 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-04-03 17:20:21 +0000 |
commit | a24e2d7d8f512340991ef0a59cb5d08d491b8e98 (patch) | |
tree | ceda70bdfd41835725f951d026073056f38aed42 /fs/cifs/xattr.c | |
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>
Diffstat (limited to 'fs/cifs/xattr.c')
0 files changed, 0 insertions, 0 deletions