]> www.infradead.org Git - users/hch/block.git/commit
loop: fold loop_update_rotational into loop_reconfigure_limits
authorChristoph Hellwig <hch@lst.de>
Mon, 17 Jun 2024 06:04:35 +0000 (08:04 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 19 Jun 2024 13:58:28 +0000 (07:58 -0600)
commit97dd4a43d69b74a114be466d6887e257971adfe9
tree0664683b446706364147df1fd6a8f6e532dcf36a
parent4ce37fe0938b02b7b947029c40b72d76a22a3882
loop: fold loop_update_rotational into loop_reconfigure_limits

This prepares for moving the rotational flag into the queue_limits and
also fixes it for the case where the loop device is backed by a block
device.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240617060532.127975-9-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/loop.c