From 1b5c5dc9c82cffbc12b282c6e7f89d84ee311d81 Mon Sep 17 00:00:00 2001 From: Ryusuke Konishi Date: Wed, 22 Aug 2007 14:01:02 -0700 Subject: [PATCH] --- yaml --- r: 64218 b: refs/heads/master c: df068464169a84a6a66c05d140f43a46d5eb6176 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/ecryptfs/inode.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 2d4f390c0371..d7e910a90df0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 74e8f346d59074147c564d9c1ffd6caf18286516 +refs/heads/master: df068464169a84a6a66c05d140f43a46d5eb6176 diff --git a/trunk/fs/ecryptfs/inode.c b/trunk/fs/ecryptfs/inode.c index 131954b3fb98..5d40ad13ab5c 100644 --- a/trunk/fs/ecryptfs/inode.c +++ b/trunk/fs/ecryptfs/inode.c @@ -357,6 +357,10 @@ 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");