diff options
author | Sage Weil <sage.weil@dreamhost.com> | 2011-07-12 17:24:19 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2011-07-13 14:57:57 -0700 |
commit | 314be340812e5a66b136aee86daf6ead961cf7a1 (patch) | |
tree | 9a90e115fbf8e40f0c138ed734b314c089cd2e97 /src/messages | |
parent | a928f767b974cd36f4be6ea618c5cec366d28362 (diff) | |
download | ceph-314be340812e5a66b136aee86daf6ead961cf7a1.tar.gz |
mds: improve print() for MInodeFileCaps
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Diffstat (limited to 'src/messages')
-rw-r--r-- | src/messages/MInodeFileCaps.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/messages/MInodeFileCaps.h b/src/messages/MInodeFileCaps.h index 24182f6a8cc..bbe3707736e 100644 --- a/src/messages/MInodeFileCaps.h +++ b/src/messages/MInodeFileCaps.h @@ -38,7 +38,10 @@ private: ~MInodeFileCaps() {} public: - const char *get_type_name() { return "Icap";} + const char *get_type_name() { return "inode_file_caps";} + void print(ostream& out) { + out << "inode_file_caps(" << ino << " " << ccap_string(caps) << ")"; + } void encode_payload(CephContext *cct) { ::encode(from, payload); |