]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/ceph/super.c
Merge branches 'work.namei', 'work.dcache' and 'work.iov_iter' into for-linus
[karo-tx-linux.git] / fs / ceph / super.c
index b382e5910eea8bf7cf7a4711fac79104e6466224..f2f76696ddca2065a5a4837a45fb1b8a0c25cf10 100644 (file)
@@ -795,7 +795,6 @@ static struct dentry *open_root_dentry(struct ceph_fs_client *fsc,
                        root = ERR_PTR(-ENOMEM);
                        goto out;
                }
-               ceph_init_dentry(root);
                dout("open_root_inode success, root dentry is %p\n", root);
        } else {
                root = ERR_PTR(err);
@@ -879,6 +878,7 @@ static int ceph_set_super(struct super_block *s, void *data)
        fsc->sb = s;
 
        s->s_op = &ceph_super_ops;
+       s->s_d_op = &ceph_dentry_ops;
        s->s_export_op = &ceph_export_ops;
 
        s->s_time_gran = 1000;  /* 1000 ns == 1 us */