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-06-04 12:07:37 -04:00
2021-03-26 14:53:42 -04:00
2021-06-04 12:07:32 -04:00
2021-02-26 15:49:51 -07:00
2021-06-04 12:07:32 -04:00
2021-02-26 15:49:51 -07:00
2021-04-19 13:13:26 -04:00
2021-06-04 12:07:37 -04:00
2021-06-04 12:07:37 -04:00
2020-12-16 13:09:32 -08:00
2021-06-30 12:21:16 -07:00
2021-06-30 12:21:16 -07:00
2021-06-14 22:32:07 -07:00
2021-06-14 22:32:07 -07:00
2021-06-30 12:21:16 -07:00
2021-06-14 22:32:07 -07:00
2021-06-14 22:32:07 -07:00