1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

o Shuffle the keys to stop degeneracy.

This commit is contained in:
Joe Thornber 2001-10-25 12:38:18 +00:00
parent b27957a686
commit 11f0a12ed8

View File

@ -37,9 +37,9 @@ struct btree *btree_create(struct pool *mem)
*/
static uint32_t _shuffle(uint32_t k)
{
#if 0
#if 1
return ((k & 0xff) << 24 |
(k & 0xff00) << 16 |
(k & 0xff00) << 8 |
(k & 0xff0000) >> 8 |
(k & 0xff000000) >> 24);
#else