]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
block: default BLOCK_LEGACY_AUTOLOAD to y
authorChristoph Hellwig <hch@lst.de>
Fri, 25 Feb 2022 18:14:40 +0000 (19:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:05:34 +0000 (11:05 +0100)
commitadd2a8e193f371fef6b2f8b785dd9e5aa04df729
tree5cbd434be50e9713361e5e045dd2fc63b2975187
parent1df80d748f984290c895e843401824215dcfbfb0
block: default BLOCK_LEGACY_AUTOLOAD to y

commit 451f0b6f4c44d7b649ae609157b114b71f6d7875 upstream.

As Luis reported, losetup currently doesn't properly create the loop
device without this if the device node already exists because old
scripts created it manually.  So default to y for now and remove the
aggressive removal schedule.

Reported-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20220225181440.1351591-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Cc: Sebastian Priebe <sebastian.priebe@konplan.com>
Link: https://lore.kernel.org/r/ZR0P278MB097497EF6CFD85E72819447E9F70A@ZR0P278MB0974.CHEP278.PROD.OUTLOOK.COM
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
block/Kconfig
block/bdev.c