summaryrefslogtreecommitdiffstats
path: root/src/messages/MExportDir.h
diff options
context:
space:
mode:
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>2011-06-17 22:49:33 +0200
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>2011-06-21 01:41:42 +0200
commitba61191021a75e8d543d7df9eae40effe2b0099f (patch)
tree7867d7c6c89284eb3ba2de7c01bbba28186b5cea /src/messages/MExportDir.h
parentKeyRing: derr -> lderr (diff)
downloadceph-ba61191021a75e8d543d7df9eae40effe2b0099f.tar.xz
ceph-ba61191021a75e8d543d7df9eae40effe2b0099f.zip
msg: remove globals
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Diffstat (limited to 'src/messages/MExportDir.h')
-rw-r--r--src/messages/MExportDir.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/messages/MExportDir.h b/src/messages/MExportDir.h
index fc6d35fa7a3..c2cb7ec82ba 100644
--- a/src/messages/MExportDir.h
+++ b/src/messages/MExportDir.h
@@ -44,13 +44,13 @@ public:
bounds.push_back(df);
}
- void encode_payload() {
+ void encode_payload(CephContext *cct) {
::encode(dirfrag, payload);
::encode(bounds, payload);
::encode(export_data, payload);
::encode(client_map, payload);
}
- void decode_payload() {
+ void decode_payload(CephContext *cct) {
bufferlist::iterator p = payload.begin();
::decode(dirfrag, p);
::decode(bounds, p);