diff options
author | Matias Bjørling <m@bjorling.me> | 2016-02-20 08:52:42 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-03-03 14:46:35 -0700 |
commit | ed2a92a6b4b8453a0c3a20da641ec79e4b3d7ca4 (patch) | |
tree | aafd1639c001a5cbd83041c4b19b1bc17a0b4bb9 /security | |
parent | 4ece44af733ff63a7cd12aaa8c85afb6d9fdc664 (diff) |
lightnvm: remove struct nvm_dev->total_blocks
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: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions