Skip to content
Snippets Groups Projects
user avatar
Matias Bjørling authored
The struct nvm_dev->total_blocks was only used for calculating total
sectors. Remove and instead calculate total sectors from the number of
luns and its sectors.

Signed-off-by: default avatarMatias Bjørling <m@bjorling.me>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
ed2a92a6
History
Name Last commit Last update