commit | 30573d680355ca0de4db2113b9080cd078ac726f | [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 | 278614d752e98974105033537ecea18509b66442 | |
parent | 139b4318ad93ae4370d88882ff89b42dcbfaaab1 [diff] |
rbd: assume single op in a request We now know that every of rbd_req_sync_op() passes an array of exactly one operation, as evidenced by all callers passing 1 as its num_op argument. So get rid of that argument, assuming a single op. Similarly, we now know that all callers of rbd_do_request() pass 1 as the num_op value, so that parameter can be eliminated as well. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>