From 68b8237cdd6b2e127a08170e79afbdbc70b7ec3f Mon Sep 17 00:00:00 2001 From: Maciej Szwed Date: Tue, 23 Jan 2018 12:43:19 +0100 Subject: [PATCH] blob: assign iovcnt value in spdk_bs_user_op_alloc function iovcnt value was set to 0 instead of being assigned from input argument. Signed-off-by: Maciej Szwed Change-Id: I0f7e89871357f5db9a5a34c801176bc5c7870021 Reviewed-on: https://review.gerrithub.io/395959 Tested-by: SPDK Automated Test System Reviewed-by: Daniel Verkamp Reviewed-by: Jim Harris --- lib/blob/request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/blob/request.c b/lib/blob/request.c index 0405c5132..0579d4c4a 100644 --- a/lib/blob/request.c +++ b/lib/blob/request.c @@ -493,7 +493,7 @@ spdk_bs_user_op_alloc(struct spdk_io_channel *_channel, struct spdk_bs_cpl *cpl, args = &set->u.user_op; args->type = op_type; - args->iovcnt = 0; + args->iovcnt = iovcnt; args->blob = blob; args->offset = offset; args->length = length;