diff options
author | Adam C. Emerson <aemerson@linuxbox.com> | 2013-05-23 19:00:21 -0700 |
---|---|---|
committer | David Zafman <david.zafman@inktank.com> | 2013-10-03 15:12:38 -0700 |
commit | 30bddb2a6ff3fd19ae9d71005c0c79e3dce58c51 (patch) | |
tree | bf194b1cda54e101d73382178f6822f631d1f887 | |
parent | a01a57a8267c9247343c4ff93a2b1d97f9f1a439 (diff) | |
download | ceph-30bddb2a6ff3fd19ae9d71005c0c79e3dce58c51.tar.gz |
osdc/Objecter: whitespace
Signed-off-by: Matt Benjamin <matt@linuxbox.com>
-rw-r--r-- | src/osdc/Objecter.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/osdc/Objecter.h b/src/osdc/Objecter.h index 1196633276d..156ccbf0b0d 100644 --- a/src/osdc/Objecter.h +++ b/src/osdc/Objecter.h @@ -7,9 +7,9 @@ * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public - * License version 2.1, as published by the Free Software + * License version 2.1, as published by the Free Software * Foundation. See file COPYING. - * + * */ #ifndef CEPH_OBJECTER_H @@ -806,15 +806,15 @@ struct ObjectOperation { class Objecter { - public: + public: Messenger *messenger; MonClient *monc; OSDMap *osdmap; CephContext *cct; bool initialized; - - private: + +private: tid_t last_tid; int client_inc; uint64_t max_linger_id; @@ -1559,9 +1559,9 @@ private: } tid_t getxattrs(const object_t& oid, const object_locator_t& oloc, snapid_t snap, - map<string,bufferlist>& attrset, - int flags, Context *onfinish, - version_t *objver = NULL, ObjectOperation *extra_ops = NULL) { + map<string,bufferlist>& attrset, + int flags, Context *onfinish, + version_t *objver = NULL, ObjectOperation *extra_ops = NULL) { vector<OSDOp> ops; int i = init_ops(ops, 1, extra_ops); ops[i].op.op = CEPH_OSD_OP_GETXATTRS; @@ -1578,9 +1578,10 @@ private: version_t *objver = NULL, ObjectOperation *extra_ops = NULL) { return read(oid, oloc, 0, 0, snap, pbl, flags | global_op_flags | CEPH_OSD_FLAG_READ, onfinish, objver); } + // writes - tid_t _modify(const object_t& oid, const object_locator_t& oloc, + tid_t _modify(const object_t& oid, const object_locator_t& oloc, vector<OSDOp>& ops, utime_t mtime, const SnapContext& snapc, int flags, Context *onack, Context *oncommit, |