530ae91505
The possible reason of failure of task construction is out of memory. Hence it's OK to return pointer to the constructed task simply. Change-Id: If6e270caefb61192c8f0055506d957c3c5d07016 Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/c/443355 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>