summaryrefslogtreecommitdiff
path: root/fs/ceph/debugfs.c
diff options
context:
space:
mode:
authorYan, Zheng <zheng.z.yan@intel.com>2014-03-01 18:22:57 +0400
committerYan, Zheng <zheng.z.yan@intel.com>2014-04-03 06:33:54 +0400
commitc137a32a408af7a5635f3d0c5ddd34d270af9a3b (patch)
tree7969ddfb5515f94739d7dd84f2ba1a54c5564f32 /fs/ceph/debugfs.c
parent19913b4eac4a230dccb548931358398f45dabe4c (diff)
downloadlinux-c137a32a408af7a5635f3d0c5ddd34d270af9a3b.tar.xz
ceph: print inode number for LOOKUPINO request
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com> Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'fs/ceph/debugfs.c')
-rw-r--r--fs/ceph/debugfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ceph/debugfs.c b/fs/ceph/debugfs.c
index 8c6f313db3ea..16b54aa31f08 100644
--- a/fs/ceph/debugfs.c
+++ b/fs/ceph/debugfs.c
@@ -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) {