mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-17 01:34:00 +08:00
revert "eCryptfs: fix lookup error for special files"
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>
This commit is contained in:
parent
aa137f9d29
commit
060d11b0b3
@ -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");
|
ecryptfs_printk(KERN_DEBUG, "Is a special file; returning\n");
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
if (special_file(lower_inode->i_mode)) {
|
|
||||||
ecryptfs_printk(KERN_DEBUG, "Is a special file; returning\n");
|
|
||||||
goto out;
|
|
||||||
}
|
|
||||||
if (!nd) {
|
if (!nd) {
|
||||||
ecryptfs_printk(KERN_DEBUG, "We have a NULL nd, just leave"
|
ecryptfs_printk(KERN_DEBUG, "We have a NULL nd, just leave"
|
||||||
"as we *think* we are about to unlink\n");
|
"as we *think* we are about to unlink\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user