Commit b6992a90 authored by Jim Harris's avatar Jim Harris
Browse files

blob: add do/while (false) to blob_request_submit_op_split_next



No functional change here, this only prepares this function for
some functional changes in the next patch.  By adding the
do/while loop here we reduce the amount of whitespace changes
in the next patch.

Signed-off-by: default avatarJim Harris <james.r.harris@intel.com>
Change-Id: I09d64fd1fb69ee232af1d298619c762e562fdc79
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11387


Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
Reviewed-by: default avatarKonrad Sztyber <konrad.sztyber@intel.com>
parent d4b89448
Loading
Loading
Loading
Loading
+34 −32
Original line number Diff line number Diff line
@@ -2553,6 +2553,7 @@ blob_request_submit_op_split_next(void *cb_arg, int bserrno)
		return;
	}

	do {
		op_length = spdk_min(length, bs_num_io_units_to_cluster_boundary(blob,
				     offset));

@@ -2587,6 +2588,7 @@ blob_request_submit_op_split_next(void *cb_arg, int bserrno)
			free(ctx);
			break;
		}
	} while (false);
}

static void