aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/bcache/journal.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2016-11-22 08:12:39 -0700
committerJens Axboe <axboe@fb.com>2016-11-22 08:56:25 -0700
commit9a794fb9bddeda0b8c8c13858038318f3cbd4b7e (patch)
treea4d6e96d980b212e369cb760e2869990625e27c3 /drivers/md/bcache/journal.c
parentblock_dev: Fixed direct I/O bio sector calculation (diff)
downloadlinux-dev-9a794fb9bddeda0b8c8c13858038318f3cbd4b7e.tar.xz
linux-dev-9a794fb9bddeda0b8c8c13858038318f3cbd4b7e.zip
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>
Diffstat (limited to 'drivers/md/bcache/journal.c')
0 files changed, 0 insertions, 0 deletions