commit | 9a794fb9bddeda0b8c8c13858038318f3cbd4b7e | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Tue Nov 22 08:12:39 2016 -0700 |
committer | Jens Axboe <axboe@fb.com> | Tue Nov 22 08:56:25 2016 -0700 |
tree | a4d6e96d980b212e369cb760e2869990625e27c3 | |
parent | 4d1a4765426fb57439164089b3cb537ec65356eb [diff] |
block_dev: get rid of blksize bits calculation We store the bits in the bdev sector size locally, but we don't use the calculation anymore. All we do with it is shift it back up to the bdev sector size. So let's just use that directly and kill the variable and bits calculation. Signed-off-by: Jens Axboe <axboe@fb.com>