]> sourceware.org Git - lvm2.git/commitdiff
fix last commit
authorAlasdair Kergon <agk@redhat.com>
Mon, 19 Apr 2010 21:10:20 +0000 (21:10 +0000)
committerAlasdair Kergon <agk@redhat.com>
Mon, 19 Apr 2010 21:10:20 +0000 (21:10 +0000)
WHATS_NEW_DM
libdm/datastruct/bitset.c

index 5f22b63da2c1d562c4112c64b127739024ea75b0..ee3e6985293375a6b06edb252bd8fc99f7845bde 100644 (file)
@@ -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
index e8bec2ab7fadc37e14ef221e44c1f0738dfff8fc..bb16adda69bd616465909f3196253ded4d1193d8 100644 (file)
@@ -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;
This page took 0.039041 seconds and 5 git commands to generate.