Merge branch 'drm-next0420' of https://github.com/markyzq/kernel-drm-rockchip into...
[firefly-linux-kernel-4.4.55.git] / fs / ceph / debugfs.c
index 1b2355109b9fd13faa3141ecc1cd75bbe28881c1..31f831471ed287e470bc38fc8632b19d6aed61d2 100644 (file)
@@ -84,7 +84,7 @@ static int mdsc_show(struct seq_file *s, void *p)
                                path = NULL;
                        spin_lock(&req->r_dentry->d_lock);
                        seq_printf(s, " #%llx/%pd (%s)",
-                                  ceph_ino(req->r_dentry->d_parent->d_inode),
+                                  ceph_ino(d_inode(req->r_dentry->d_parent)),
                                   req->r_dentry,
                                   path ? path : "");
                        spin_unlock(&req->r_dentry->d_lock);