From: Sage Weil Date: Fri, 27 Jan 2012 20:23:33 +0000 (-0800) Subject: objector: document Objecter::init_ops() X-Git-Tag: v0.41~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=374fec47253bad511eee52d372f182402fb17b1a;p=ceph.git objector: document Objecter::init_ops() Signed-off-by: Sage Weil --- diff --git a/src/osdc/Objecter.h b/src/osdc/Objecter.h index 7522a5929a33..61b6e8f7ccb4 100644 --- a/src/osdc/Objecter.h +++ b/src/osdc/Objecter.h @@ -861,7 +861,16 @@ private: eversion_t *objver); void unregister_linger(uint64_t linger_id); - + /** + * set up initial ops in the op vector, and allocate a final op slot. + * + * The caller is responsible for filling in the final op. + * + * @param ops op vector + * @param ops_count number of initial ops + * @param extra_ops pointer to [array of] initial op[s] + * @return index of final op (for caller to fill in) + */ int init_ops(vector& ops, int ops_count, ObjectOperation *extra_ops) { int i;