mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
[bcache] Remove unused 'hash' field from blocks.
We use a radix tree these days rather than a hash table.
This commit is contained in:
parent
4d964133e2
commit
3255e384db
@ -757,7 +757,6 @@ static struct block *_new_block(struct bcache *cache, int fd, block_address i, b
|
||||
|
||||
if (b) {
|
||||
dm_list_init(&b->list);
|
||||
dm_list_init(&b->hash);
|
||||
b->flags = 0;
|
||||
b->fd = fd;
|
||||
b->index = i;
|
||||
|
@ -62,7 +62,6 @@ struct block {
|
||||
|
||||
struct bcache *cache;
|
||||
struct dm_list list;
|
||||
struct dm_list hash;
|
||||
|
||||
unsigned flags;
|
||||
unsigned ref_count;
|
||||
|
Loading…
Reference in New Issue
Block a user