]> git.karo-electronics.de Git - karo-tx-linux.git/commit
CIFS: Allow null nd (as nfs server uses) on create
authorSteve French <sfrench@us.ibm.com>
Thu, 22 Apr 2010 19:21:55 +0000 (19:21 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:22:55 +0000 (11:22 -0700)
commit31ccb0859d5b3de20fec1c540d84d5a339c70002
tree6b3eab9ce56ba86520cf48bb659c136a8f05b6d0
parent55442a2a4c899ee1201e2dca8f8c7a0dc4e59037
CIFS: Allow null nd (as nfs server uses) on create

commit fa588e0c57048b3d4bfcd772d80dc0615f83fd35 upstream.

While creating a file on a server which supports unix extensions
such as Samba, if a file is being created which does not supply
nameidata (i.e. nd is null), cifs client can oops when calling
cifs_posix_open.

Signed-off-by: Shirish Pargaonkar <shirishp@us.ibm.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/cifs/cifsproto.h
fs/cifs/dir.c
fs/cifs/file.c