Re: [PATCH v3] scatterlist: prevent invalid free when alloc fails

From: Tejun Heo
Date: Mon Aug 30 2010 - 12:06:13 EST


On 08/30/2010 05:58 PM, Jeffrey Carlyle wrote:
> + /*
> + * Adjust entry count so that proper free function is
> + * used in sg_kfree.
> + */
> + if(pvr)

I suppose you meant "if (prv)"?

--
tejun
--
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/