]> git.karo-electronics.de Git - linux-beck.git/commit
sanitize ecryptfs_lookup()
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 20 Jul 2012 08:03:41 +0000 (12:03 +0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 29 Jul 2012 17:24:16 +0000 (21:24 +0400)
commitbc65a1215eda3e067801e0a8f3eeffb62800f355
treef53aefd935c6e99ffe24dee94a322083536d3004
parentfaf02010290e202e275c1bf94ca9dd808bf85607
sanitize ecryptfs_lookup()

* ->lookup() never gets hit with . or ..
* dentry it gets is unhashed, so unless we had gone and hashed it ourselves, there's
no need to d_drop() the sucker.
* wrong name printed in one of the printks (NULL, in fact)

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