[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)
committerSteve French <sfrench@us.ibm.com>
Thu, 22 Apr 2010 19:21:55 +0000 (19:21 +0000)
commitfa588e0c57048b3d4bfcd772d80dc0615f83fd35
treea357298481dc4a8ab7f00998b065b9fee7e36d20
parent2c964d1f7c87eb71f7902111cd7c8fbba225e4b6
[CIFS] Allow null nd (as nfs server uses) on create

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>
fs/cifs/cifsproto.h
fs/cifs/dir.c
fs/cifs/file.c