Skip to content

Commit

Permalink
dm cache: remove usused deferred_cells member from struct cache
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Thornber <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
  • Loading branch information
jthornber authored and snitm committed Nov 10, 2017
1 parent 9768a10 commit ede6507
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/md/dm-cache-target.c
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,6 @@ struct cache {
int sectors_per_block_shift;

spinlock_t lock;
struct list_head deferred_cells;
struct bio_list deferred_bios;
sector_t migration_threshold;
wait_queue_head_t migration_wait;
Expand Down Expand Up @@ -2586,7 +2585,6 @@ static int cache_create(struct cache_args *ca, struct cache **result)
}

spin_lock_init(&cache->lock);
INIT_LIST_HEAD(&cache->deferred_cells);
bio_list_init(&cache->deferred_bios);
atomic_set(&cache->nr_allocated_migrations, 0);
atomic_set(&cache->nr_io_migrations, 0);
Expand Down

0 comments on commit ede6507

Please sign in to comment.