aboutsummaryrefslogtreecommitdiff
path: root/kernel/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/inode.c')
-rw-r--r--kernel/inode.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/kernel/inode.c b/kernel/inode.c
index 3775733..55a283b 100644
--- a/kernel/inode.c
+++ b/kernel/inode.c
@@ -359,15 +359,11 @@ static struct fuse_conn *new_conn(void)
static struct fuse_conn *get_conn(struct file *file, struct super_block *sb)
{
struct fuse_conn *fc;
- struct inode *ino;
- ino = file->f_dentry->d_inode;
if (file->f_op != &fuse_dev_operations) {
printk("FUSE: bad communication file descriptor\n");
- printk("fuse_dev_operations: %p file->f_op: %p\n",
- &fuse_dev_operations, file->f_op);
return NULL;
- }
+ }
fc = new_conn();
if (fc == NULL) {
printk("FUSE: failed to allocate connection data\n");