md: replace the RAID_AUTORUN ioctl with a direct function call
authorChristoph Hellwig <hch@lst.de>
Sat, 6 Jun 2020 13:00:24 +0000 (15:00 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 16 Jul 2020 13:35:03 +0000 (15:35 +0200)
commitd82fa81c2364a464ae585eed523496aa00909c17
tree2277803922ee5d0e12aa68ea40909ae90a96efbc
parent4f5b246b37e024955c0fcca0c7f5952089052d1d
md: replace the RAID_AUTORUN ioctl with a direct function call

Instead of using a spcial RAID_AUTORUN ioctl that only exists for
non-modular builds and is only called from the early init code, just
call the actual function directly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: NeilBrown <neilb@suse.de>
Acked-by: Song Liu <song@kernel.org>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/md-autodetect.c
drivers/md/md.c
drivers/md/md.h