summaryrefslogtreecommitdiffstats
path: root/fs/ceph
diff options
context:
space:
mode:
authorYan, Zheng <zheng.z.yan@intel.com>2014-03-01 22:22:57 +0800
committerYan, Zheng <zheng.z.yan@intel.com>2014-04-03 10:33:54 +0800
commitc137a32a408af7a5635f3d0c5ddd34d270af9a3b (patch)
tree7969ddfb5515f94739d7dd84f2ba1a54c5564f32 /fs/ceph
parent19913b4eac4a230dccb548931358398f45dabe4c (diff)
downloadlinux-c137a32a408af7a5635f3d0c5ddd34d270af9a3b.tar.bz2
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')
-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) {