Commit 23881ae
loop: deprecate autoloading callback loop_probe()
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 fbdee71 ("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>1 parent 1063973 commit 23881ae
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2093 | 2093 | | |
2094 | 2094 | | |
2095 | 2095 | | |
| 2096 | + | |
2096 | 2097 | | |
2097 | 2098 | | |
2098 | 2099 | | |
| |||
2101 | 2102 | | |
2102 | 2103 | | |
2103 | 2104 | | |
| 2105 | + | |
| 2106 | + | |
| 2107 | + | |
2104 | 2108 | | |
2105 | 2109 | | |
2106 | 2110 | | |
| |||
0 commit comments