]> 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:16:09 +0000 (11:16 -0700)
commit8c11d9038537657cc74fb8d2242fd18c3d6a05d5
treeb2579189d21e44e25de4753006472b9fc0731c33
parentca12f650743dbfc723de02e37f1ac562a1978b33
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