]> err.no Git - linux-2.6/commitdiff
revert "eCryptfs: fix lookup error for special files"
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 31 Aug 2007 06:56:16 +0000 (23:56 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 31 Aug 2007 08:42:22 +0000 (01:42 -0700)
This patch got appied twice.

Cc: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Cc: Michael Halcrow <mhalcrow@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ecryptfs/inode.c

index 5d40ad13ab5cb036ba14d5f886b46ee445d29915..131954b3fb98b588db1802301c70ffe2c0196963 100644 (file)
@@ -357,10 +357,6 @@ static struct dentry *ecryptfs_lookup(struct inode *dir, struct dentry *dentry,
                ecryptfs_printk(KERN_DEBUG, "Is a special file; returning\n");
                goto out;
        }
-       if (special_file(lower_inode->i_mode)) {
-               ecryptfs_printk(KERN_DEBUG, "Is a special file; returning\n");
-               goto out;
-       }
        if (!nd) {
                ecryptfs_printk(KERN_DEBUG, "We have a NULL nd, just leave"
                                "as we *think* we are about to unlink\n");