Files
linux/drivers
Mauricio Faria de Oliveira a413b88cdb loop: deprecate autoloading callback loop_probe()
commit 23881aec85 upstream.

The 'probe' callback in __register_blkdev() is only used under the
CONFIG_BLOCK_LEGACY_AUTOLOAD deprecation guard.

The loop_probe() function is only used for that callback, so guard it
too, accordingly.

See commit fbdee71bb5 ("block: deprecate autoloading based on dev_t").

Signed-off-by: Mauricio Faria de Oliveira <mfo@canonical.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20230720143033.841001-2-mfo@canonical.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Cc: Sven Joachim <svenjoac@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-01-01 12:39:09 +00:00
..
2023-09-13 09:42:56 +02:00
2023-11-20 11:52:05 +01:00
2023-12-20 17:00:20 +01:00
2023-09-13 09:42:58 +02:00
2023-12-08 08:51:19 +01:00
2023-12-13 18:39:03 +01:00
2023-07-19 16:21:48 +02:00