]> www.infradead.org Git - users/hch/block.git/commit
loop: stop using loop_reconfigure_limits in __loop_clr_fd
authorChristoph Hellwig <hch@lst.de>
Sun, 2 Jun 2024 06:41:38 +0000 (08:41 +0200)
committerChristoph Hellwig <hch@lst.de>
Sun, 16 Jun 2024 09:47:55 +0000 (11:47 +0200)
commit6a1ba3079755292d82d3bb1503f34d931df2d54d
tree226ceefd12d9034806a86bbfea19c1190a8ce809
parent30bec17343387f81fac08b145fa0f4156f187bb9
loop: stop using loop_reconfigure_limits in __loop_clr_fd

__loop_clr_fd wants to clear all settings on the device.  Prepare for
moving more settings into the block limits by open coding
loop_reconfigure_limits.

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>
drivers/block/loop.c