From: Alex Elder Date: Wed, 14 Nov 2012 03:11:15 +0000 (-0600) Subject: rbd: pass num_op with ops array X-Git-Tag: v3.9-rc1~41^2~21^2~59^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d07c09589f533db9ab500ac38151bc9f3a4d0648;p=pandora-kernel.git 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 Reviewed-by: Josh Durgin --- Reading git-diff-tree failed