]> git.baikalelectronics.ru Git - kernel.git/commit
eCryptfs: Revert "dont call lookup_one_len to avoid NULL nameidata"
authorTyler Hicks <tyhicks@linux.vnet.ibm.com>
Fri, 18 Feb 2011 00:51:24 +0000 (18:51 -0600)
committerTyler Hicks <tyhicks@linux.vnet.ibm.com>
Fri, 18 Feb 2011 02:30:29 +0000 (20:30 -0600)
commitbf457a29fe6f7d31f3b279493c6a8ab65ab3dad0
tree5d8e9c0b3ed94c2a584812ae7223c4f72cc3d8ee
parentb51dc7994d3e25dd6d03a2be5ba9f228d9c3d47b
eCryptfs: Revert "dont call lookup_one_len to avoid NULL nameidata"

This reverts commit b0aeaa5c5188ab7515fe2e996b331ccad12e11e3 and commit
22345c4a832cd157540cf4e781ab0a1a0eb45e15, 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