]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] cifs_create() fix
authorMiklos Szeredi <miklos@szeredi.hu>
Tue, 6 Sep 2005 22:18:26 +0000 (15:18 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 7 Sep 2005 23:57:44 +0000 (16:57 -0700)
commite08fc0457af28f2ebec36296ea7ada6024fde81b
tree6107256ebc07539e63b1fe091f834660f09c7625
parente922efc342d565a38eed3af377ff403f52148864
[PATCH] cifs_create() fix

cifs_create() did totally the wrong thing with nd->intent.open.flags:
it interpreted nd->intent.open.flags as the original open flags, not
the one transformed for open_namei().  Also it used the intent data
even if it was not filled in (if called from sys_mknod()).

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Cc: <viro@parcelfarce.linux.theplanet.co.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Steven French <sfrench@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/cifs/dir.c