[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [linux-lvm] Function clone_bio
- From: Alasdair G Kergon <agk redhat com>
- To: Sumit Narayan <sumnaray gmail com>
- Cc: linux-lvm redhat com
- Subject: Re: [linux-lvm] Function clone_bio
- Date: Wed, 28 Nov 2007 18:50:24 +0000
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 redhat com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]