mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-30 17:18:21 +03:00
fix last commit
This commit is contained in:
parent
da336123c2
commit
175b8684a0
@ -1,5 +1,6 @@
|
||||
Version 1.02.47 -
|
||||
=================================
|
||||
Simplify dm_bitset_create.
|
||||
Speed up dm_bit_get_next with ffs().
|
||||
|
||||
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)
|
||||
bs = dm_pool_zalloc(mem, size);
|
||||
else if ((bs = dm_malloc(size)))
|
||||
memset(mem, 0, size);
|
||||
memset(bs, 0, size);
|
||||
|
||||
if (!bs)
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user