Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dm vdo slab-depot: delete unnecessary check in allocate_components

This is a duplicate check so it can't be true. Delete it.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Susan LeGendre-McGhee <slegendr@redhat.com>
Signed-off-by: Matthew Sakai <msakai@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>

authored by

Dan Carpenter and committed by
Mike Snitzer
672fc9b8 92455364

-3
-3
drivers/md/dm-vdo/slab-depot.c
··· 4106 4106 }; 4107 4107 } 4108 4108 4109 - if (result != VDO_SUCCESS) 4110 - return result; 4111 - 4112 4109 slab_count = vdo_compute_slab_count(depot->first_block, depot->last_block, 4113 4110 depot->slab_size_shift); 4114 4111 if (thread_config->physical_zone_count > slab_count) {