]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/ceph/debugfs.c
libceph: recognize poolop requests in debugfs
[karo-tx-linux.git] / net / ceph / debugfs.c
index 10421a4b76f8710def7328e45dabf227cc3cdb3b..8903dcee8d8e79acb898f169e2aa05319c6f7233 100644 (file)
@@ -126,9 +126,11 @@ static int monc_show(struct seq_file *s, void *p)
                req = rb_entry(rp, struct ceph_mon_generic_request, node);
                op = le16_to_cpu(req->request->hdr.type);
                if (op == CEPH_MSG_STATFS)
-                       seq_printf(s, "%lld statfs\n", req->tid);
+                       seq_printf(s, "%llu statfs\n", req->tid);
+               else if (op == CEPH_MSG_POOLOP)
+                       seq_printf(s, "%llu poolop\n", req->tid);
                else
-                       seq_printf(s, "%lld unknown\n", req->tid);
+                       seq_printf(s, "%llu unknown\n", req->tid);
        }
 
        mutex_unlock(&monc->mutex);