reduce: remove extra size check
This was the result of a previous merge conflict. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ic657e7f9e16b6a073669b078b4323f7abfef95b9 Reviewed-on: https://review.gerrithub.io/436063 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
1c68d71107
commit
8c2cf577b3
@ -433,13 +433,6 @@ spdk_reduce_vol_init(struct spdk_reduce_vol_params *params,
|
||||
return;
|
||||
}
|
||||
|
||||
if (size_needed > size) {
|
||||
SPDK_ERRLOG("pm file size %" PRIi64 " but %" PRIi64 " needed\n",
|
||||
size, size_needed);
|
||||
cb_fn(cb_arg, NULL, -EINVAL);
|
||||
return;
|
||||
}
|
||||
|
||||
if (backing_dev->close == NULL || backing_dev->readv == NULL ||
|
||||
backing_dev->writev == NULL || backing_dev->unmap == NULL) {
|
||||
SPDK_ERRLOG("backing_dev function pointer not specified\n");
|
||||
|
Loading…
Reference in New Issue
Block a user