Christoph Hellwig c66fd01971 block: make the block holder code optional
Move the block holder code into a separate file as it is not in any way
related to the other block_dev.c code, and add a new selectable config
option for it so that we don't have to build it without any remapped
drivers selected.

The Kconfig symbol contains a _DEPRECATED suffix to match the comments
added in commit 49731baa41df
("block: restore multiple bd_link_disk_holder() support").

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Link: https://lore.kernel.org/r/20210804094147.459763-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-08-09 11:50:42 -06:00
..
2021-08-02 13:37:28 -06:00
2021-06-17 15:51:20 +02:00
2021-06-29 07:41:08 -06:00
2020-03-17 20:55:21 +01:00
2021-08-02 13:37:28 -06:00
2021-07-09 12:05:33 -07:00
2021-07-09 12:05:33 -07:00
2021-08-02 13:37:28 -06:00
2021-07-09 12:05:33 -07:00