diff options
Diffstat (limited to 'kernel/inode.c')
-rw-r--r-- | kernel/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/inode.c b/kernel/inode.c index 591a4df..641d03a 100644 --- a/kernel/inode.c +++ b/kernel/inode.c @@ -367,7 +367,7 @@ static struct fuse_conn *get_conn(struct file *file, struct super_block *sb) struct inode *ino; ino = file->f_dentry->d_inode; - if (!ino || !proc_fuse_dev || + if (!ino || !proc_fuse_dev || strcmp(ino->i_sb->s_type->name, "proc") != 0 || proc_fuse_dev->low_ino != ino->i_ino) { printk("FUSE: bad communication file descriptor\n"); |