]> git.baikalelectronics.ru Git - kernel.git/commit
block: simplify set_init_blocksize
authorChristoph Hellwig <hch@lst.de>
Fri, 26 Jun 2020 08:01:54 +0000 (10:01 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 1 Jul 2020 14:08:17 +0000 (08:08 -0600)
commit313ba73adeac4cf4a2bcfbc5b49c23646a9a339a
treee377861f3b62d42e7d605abd1f57a54978cda905
parent86ded0132183114d5fa1755a0d44be895c0efd34
block: simplify set_init_blocksize

The loop to increase the initial block size doesn't really make any
sense, as the AND operation won't match for powers of two if it didn't
for the initial block size.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/block_dev.c