commit | d07c09589f533db9ab500ac38151bc9f3a4d0648 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Tue Nov 13 21:11:15 2012 -0600 |
committer | Alex Elder <elder@inktank.com> | Thu Jan 17 16:34:57 2013 -0600 |
tree | c306cebf88a941891d860d1e1648f77c65d88b2f | |
parent | 54a5400721da7fa5a16cea151aade5bdfee74111 [diff] |
rbd: pass num_op with ops array Add a num_op parameter to rbd_do_request() and rbd_req_sync_op() to indicate the number of entries in the array. The callers of these functions always know how many entries are in the array, so just pass that information down. This is in anticipation of eliminating the extra zero-filled entry in these ops arrays. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>