commit | 7cc178a6b994b7c994f1811c4b9fedc015ee0c9e | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Oct 29 15:58:32 2020 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Nov 16 08:14:30 2020 -0700 |
tree | ff7e7a98c6d3965d97a442c7d45d6516822b3d68 | |
parent | 996e509bbc956d60f761dc955f5c5131e9a8fb13 [diff] |
brd: use __register_blkdev to allocate devices on demand Use the simpler mechanism attached to major_name to allocate a brd device when a currently unregistered minor is accessed. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>