On Mon, Jul 18, 2016 at 12:11:09PM +0200, Johannes Thumshirn wrote: > bcache's cache_alloc() function currenty has no way freeing memory if one of > the allocations fails. Untangle the if + allocation statement so we have > defined checkpoints to free previous allocations if one fails. nack. The existing error path handles failure midway through just fine. -- To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html