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)
commit5ff9f19231a0e670b3d79c563f1b0b185abeca91
treee377861f3b62d42e7d605abd1f57a54978cda905
parent9011495c9466ca0aaee2741f98d50ac2ca8cee11
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