diff options
author | Steve French <sfrench@us.ibm.com> | 2010-04-03 17:20:21 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-04-26 07:41:23 -0700 |
commit | 8a832806f94a204b9ddc9010fe8ddf15f7ad842f (patch) | |
tree | 5008ebe4e87a0b3188334415af9ba3c88116602e /fs/generic_acl.c | |
parent | 2aa9e27ee0822cffc19e9b976daff7eb0c48b023 (diff) |
CIFS: initialize nbytes at the beginning of CIFSSMBWrite()
commit a24e2d7d8f512340991ef0a59cb5d08d491b8e98 upstream.
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.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/generic_acl.c')
0 files changed, 0 insertions, 0 deletions