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 8c6f313db3eab0ae916903df2265ec5554d81724..16b54aa31f08ef801f2aa852b9f00c81aeffe9ce 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) {