[linux-lvm] Function clone_bio

Alasdair G Kergon agk at redhat.com
Wed Nov 28 18:50:24 UTC 2007


On Wed, Nov 28, 2007 at 10:25:57AM -0500, Sumit Narayan wrote:
> There is a possibility of NULL being returned from bio_alloc_bioset. 
> Although unlikely, it could crash the kernel.
 
If that function can ever return NULL, then it's a bug in the function.

If there's not enough memory available immediately, it's supposed to delay
returning until there is.

Alasdair
-- 
agk at redhat.com




More information about the linux-lvm mailing list