]> git.baikalelectronics.ru Git - kernel.git/commit
don't pass nameidata to vfs_create() from ecryptfs_create()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 26 Jun 2011 01:08:31 +0000 (21:08 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 20 Jul 2011 05:43:54 +0000 (01:43 -0400)
commitc70dc9b5c425b4b2c957ca95a5799863d60c81f4
treeaed90f298856f286f84af6774ea30ade62c95294
parent9f481a2d0f8ca2b07e09a9a30a62654e9ef688db
don't pass nameidata to vfs_create() from ecryptfs_create()

Instead of playing with removal of LOOKUP_OPEN, mangling (and
restoring) nd->path, just pass NULL to vfs_create().  The whole
point of what's being done there is to suppress any attempts
to open file by underlying fs, which is what nd == NULL indicates.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ecryptfs/inode.c