mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
fix last commit
This commit is contained in:
parent
24d8818933
commit
be29e5ab62
@ -1,5 +1,6 @@
|
|||||||
Version 1.02.47 -
|
Version 1.02.47 -
|
||||||
=================================
|
=================================
|
||||||
|
Simplify dm_bitset_create.
|
||||||
Speed up dm_bit_get_next with ffs().
|
Speed up dm_bit_get_next with ffs().
|
||||||
|
|
||||||
Version 1.02.46 - 14th April 2010
|
Version 1.02.46 - 14th April 2010
|
||||||
|
@ -27,7 +27,7 @@ dm_bitset_t dm_bitset_create(struct dm_pool *mem, unsigned num_bits)
|
|||||||
if (mem)
|
if (mem)
|
||||||
bs = dm_pool_zalloc(mem, size);
|
bs = dm_pool_zalloc(mem, size);
|
||||||
else if ((bs = dm_malloc(size)))
|
else if ((bs = dm_malloc(size)))
|
||||||
memset(mem, 0, size);
|
memset(bs, 0, size);
|
||||||
|
|
||||||
if (!bs)
|
if (!bs)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user