loop: do not call set_blocksize
authorChristoph Hellwig <hch@lst.de>
Mon, 16 Nov 2020 14:38:30 +0000 (15:38 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Dec 2020 21:53:39 +0000 (14:53 -0700)
commitf46f2a3198017cff1f3f8f71de74ff7abee3aa16
tree14e7d2c23b6f53d95c2237afa20f584e84ee4d97
parentee763e2143e79fa41d2818e620e1e8ff69af87bf
loop: do not call set_blocksize

set_blocksize is used by file systems to use their preferred buffer cache
block size.  Block drivers should not set it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/loop.c