Re: [PATCH] lightnvm: unlock rq and free ppa_list after submission failed

From: Matias BjÃrling
Date: Tue Dec 22 2015 - 07:44:08 EST


When rrpc_write_ppalist_rq and rrpc_read_ppalist_rq succeed, we setup
rq correctly, but nvm_submit_io failed due to cannot allocate request
or nvme_nvm_command, we return error but forget to do the cleanup job
this patch mentioned.

Thanks. I've included that explanation instead for the commit message. I've applied it for 4.5 (together with your previous patch).

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/