1
0
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:
Joe Thornber 2018-09-11 13:17:29 +01:00
parent 4d964133e2
commit 3255e384db
2 changed files with 0 additions and 2 deletions

View File

@ -757,7 +757,6 @@ static struct block *_new_block(struct bcache *cache, int fd, block_address i, b
if (b) { if (b) {
dm_list_init(&b->list); dm_list_init(&b->list);
dm_list_init(&b->hash);
b->flags = 0; b->flags = 0;
b->fd = fd; b->fd = fd;
b->index = i; b->index = i;

View File

@ -62,7 +62,6 @@ struct block {
struct bcache *cache; struct bcache *cache;
struct dm_list list; struct dm_list list;
struct dm_list hash;
unsigned flags; unsigned flags;
unsigned ref_count; unsigned ref_count;