block: default BLOCK_LEGACY_AUTOLOAD to y
authorChristoph Hellwig <hch@lst.de>
Fri, 25 Feb 2022 18:14:40 +0000 (19:14 +0100)
committerJens Axboe <axboe@kernel.dk>
Sun, 27 Feb 2022 21:49:23 +0000 (14:49 -0700)
commit451f0b6f4c44d7b649ae609157b114b71f6d7875
tree19e10226c0541f8fca6b749533b69e2e4f89092c
parent86d7331299fda7634b11c1b7c911432679d525a5
block: default BLOCK_LEGACY_AUTOLOAD to y

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>
block/Kconfig
block/bdev.c