diff options
Diffstat (limited to 'fs/ceph')
-rw-r--r-- | fs/ceph/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/super.c b/fs/ceph/super.c index 06150fd745ac..f6e12377335c 100644 --- a/fs/ceph/super.c +++ b/fs/ceph/super.c | |||
@@ -755,7 +755,7 @@ static struct dentry *open_root_dentry(struct ceph_fs_client *fsc, | |||
755 | goto out; | 755 | goto out; |
756 | } | 756 | } |
757 | } else { | 757 | } else { |
758 | root = d_obtain_alias(inode); | 758 | root = d_obtain_root(inode); |
759 | } | 759 | } |
760 | ceph_init_dentry(root); | 760 | ceph_init_dentry(root); |
761 | dout("open_root_inode success, root dentry is %p\n", root); | 761 | dout("open_root_inode success, root dentry is %p\n", root); |