[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] dm: Fix possible NULL dereferences
- From: Mike Snitzer <snitzer redhat com>
- To: device-mapper development <dm-devel redhat com>
- Subject: Re: [dm-devel] dm: Fix possible NULL dereferences
- Date: Tue, 2 Nov 2010 12:16:34 -0400
On Sun, Sep 19 2010 at 8:01pm -0400,
Michał Mirosław <mirq-linux rere qmqm pl> wrote:
> bio_alloc_bioset() might return NULL. Or maybe passed
> bio_sets are guaranteed to have enough free bios?
The passed bio_set is allocated in dm_alloc_md_mempools() using
bioset_create() -- so it does have allocation guarantees.
Mike
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]