cifs: remove NULL termination from rename target in CIFSSMBRenameOpenFIle
authorJeff Layton <jlayton@redhat.com>
Wed, 24 Sep 2008 15:32:59 +0000 (11:32 -0400)
committerSteve French <sfrench@us.ibm.com>
Wed, 24 Sep 2008 19:07:36 +0000 (19:07 +0000)
commit391e575556109744ae0aa198c1e245588a3ea76a
tree90980d20d071415ba7f601acd3139ae7121123bf
parent7ce86d5a93ffe2542e6558a97ab055377df8cde3
cifs: remove NULL termination from rename target in CIFSSMBRenameOpenFIle

cifs: remove NULL termination from rename target in CIFSSMBRenameOpenFIle

The rename destination isn't supposed to be null terminated. Also,
change the name string arg to be const.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsproto.h
fs/cifs/cifssmb.c