ceph: print inode number for LOOKUPINO request
authorYan, Zheng <zheng.z.yan@intel.com>
Sat, 1 Mar 2014 14:22:57 +0000 (22:22 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Thu, 3 Apr 2014 02:33:54 +0000 (10:33 +0800)
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Reviewed-by: Sage Weil <sage@inktank.com>
fs/ceph/debugfs.c

index 8c6f313..16b54aa 100644 (file)
@@ -93,6 +93,8 @@ static int mdsc_show(struct seq_file *s, void *p)
                } else if (req->r_path1) {
                        seq_printf(s, " #%llx/%s", req->r_ino1.ino,
                                   req->r_path1);
+               } else {
+                       seq_printf(s, " #%llx", req->r_ino1.ino);
                }
 
                if (req->r_old_dentry) {