]> git.karo-electronics.de Git - linux-beck.git/commit
block_dev: get rid of blksize bits calculation
authorJens Axboe <axboe@fb.com>
Tue, 22 Nov 2016 15:12:39 +0000 (08:12 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 22 Nov 2016 15:56:25 +0000 (08:56 -0700)
commit9a794fb9bddeda0b8c8c13858038318f3cbd4b7e
treea4d6e96d980b212e369cb760e2869990625e27c3
parent4d1a4765426fb57439164089b3cb537ec65356eb
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>
fs/block_dev.c