eCryptfs: Revert "dont call lookup_one_len to avoid NULL nameidata"
commit8787c7a3e0e3f1aa21856d6b6cd6880cc93497e9
authorTyler Hicks <tyhicks@linux.vnet.ibm.com>
Fri, 18 Feb 2011 00:51:24 +0000 (17 18:51 -0600)
committerTyler Hicks <tyhicks@linux.vnet.ibm.com>
Fri, 18 Feb 2011 02:30:29 +0000 (17 20:30 -0600)
tree5d8e9c0b3ed94c2a584812ae7223c4f72cc3d8ee
parent85e2efbb1db9a18d218006706d6e4fbeb0216213
eCryptfs: Revert "dont call lookup_one_len to avoid NULL nameidata"

This reverts commit 21edad32205e97dc7ccb81a85234c77e760364c8 and commit
93c3fe40c279f002906ad14584c30671097d4394, which fixed a regression by
the former.

Al Viro pointed out bypassed dcache lookups in
ecryptfs_new_lower_dentry(), misuse of vfs_path_lookup() in
ecryptfs_lookup_one_lower() and a dislike of passing nameidata to the
lower filesystem.

Reported-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
fs/ecryptfs/inode.c