commit | 74cc979c3c7f8328b24651daf15280f07533e735 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Mar 24 08:25:19 2020 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Mar 24 07:57:08 2020 -0600 |
tree | da9360a167996f90b39acd5bf67e22f96128338d | |
parent | 1a9fba3a77a5b39d1c9e1611758303f2649474e9 [diff] |
block: cleanup how md_autodetect_dev is called Add a new include/linux/raid/detect.h header to declare the md_autodetect_dev prototype which can be shared between md and the partition code. Then use IS_BUILTIN to call it instead of the ifdef magic. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>