ceph: tolerate bad i_size for symlink inode
[deliverable/linux.git] / fs / ceph / debugfs.c
index 31f831471ed287e470bc38fc8632b19d6aed61d2..39ff678e567fcb5c31d9729081119adaa4578def 100644 (file)
@@ -109,7 +109,7 @@ static int mdsc_show(struct seq_file *s, void *p)
                                   path ? path : "");
                        spin_unlock(&req->r_old_dentry->d_lock);
                        kfree(path);
-               } else if (req->r_path2) {
+               } else if (req->r_path2 && req->r_op != CEPH_MDS_OP_SYMLINK) {
                        if (req->r_ino2.ino)
                                seq_printf(s, " #%llx/%s", req->r_ino2.ino,
                                           req->r_path2);
This page took 0.029006 seconds and 5 git commands to generate.