]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/fuse/cuse.c
fuse: separate fuse device allocation and installation in fuse_conn
[linux.git] / fs / fuse / cuse.c
index 6a0de0ce44037a8f056ce16292115d27920d5cd3..45762bb7a934e318bfb00da7dfef2349bfc0f1d0 100644 (file)
@@ -508,7 +508,7 @@ static int cuse_channel_open(struct inode *inode, struct file *file)
         */
        fuse_conn_init(&cc->fc, file->f_cred->user_ns, &fuse_dev_fiq_ops, NULL);
 
-       fud = fuse_dev_alloc(&cc->fc);
+       fud = fuse_dev_alloc_install(&cc->fc);
        if (!fud) {
                kfree(cc);
                return -ENOMEM;