From 179263c903fd5dd394c985ba89c18b25ab1e8a6b Mon Sep 17 00:00:00 2001 From: Ryusuke Konishi Date: Fri, 10 Aug 2007 13:00:51 -0700 Subject: [PATCH] --- yaml --- r: 63848 b: refs/heads/master c: 202a21d6914369c1362f1ab50f0cbe92b9c38718 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 12f86aec326f..5c9e8a90150e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 60c9834238482f805b1d9e4dc2a780405ddab80f +refs/heads/master: 202a21d6914369c1362f1ab50f0cbe92b9c38718 diff --git a/trunk/fs/ecryptfs/inode.c b/trunk/fs/ecryptfs/inode.c index 0a50942b4378..131954b3fb98 100644 --- a/trunk/fs/ecryptfs/inode.c +++ b/trunk/fs/ecryptfs/inode.c @@ -353,6 +353,10 @@ static struct dentry *ecryptfs_lookup(struct inode *dir, struct dentry *dentry, ecryptfs_printk(KERN_DEBUG, "Is a symlink; 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");