diff options
author | Joe Thornber <ejt@redhat.com> | 2018-09-11 13:17:29 +0100 |
---|---|---|
committer | Joe Thornber <ejt@redhat.com> | 2018-09-11 13:17:29 +0100 |
commit | 3255e384dbd567a4d6ddec8dc3eaac2d16476d3c (patch) | |
tree | 74b1899ca0748e5ed214c24c20c7a176a77d6608 | |
parent | 4d964133e267b2b501a5dcd40c30cfdcfaa5903a (diff) | |
download | lvm2-3255e384dbd567a4d6ddec8dc3eaac2d16476d3c.tar.gz |
[bcache] Remove unused 'hash' field from blocks.
We use a radix tree these days rather than a hash table.
-rw-r--r-- | lib/device/bcache.c | 1 | ||||
-rw-r--r-- | lib/device/bcache.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/device/bcache.c b/lib/device/bcache.c index e759997c2..5e795c56b 100644 --- a/lib/device/bcache.c +++ b/lib/device/bcache.c @@ -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; diff --git a/lib/device/bcache.h b/lib/device/bcache.h index ae5e69c8b..1d49af20b 100644 --- a/lib/device/bcache.h +++ b/lib/device/bcache.h @@ -62,7 +62,6 @@ struct block { struct bcache *cache; struct dm_list list; - struct dm_list hash; unsigned flags; unsigned ref_count; |