]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/ceph/super.c
Merge branches 'work.namei', 'work.dcache' and 'work.iov_iter' into for-linus
[linux.git] / fs / ceph / super.c
index fd2ea18a0ca32cca1decff5b705852638f521817..f2f76696ddca2065a5a4837a45fb1b8a0c25cf10 100644 (file)
@@ -844,6 +844,8 @@ static struct dentry *ceph_real_mount(struct ceph_fs_client *fsc)
                err = ceph_fs_debugfs_init(fsc);
                if (err < 0)
                        goto fail;
+       } else {
+               root = dget(fsc->sb->s_root);
        }
 
        fsc->mount_state = CEPH_MOUNT_MOUNTED;