summary refs log tree commit diff
path: root/drivers/md/md.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-06-06 15:00:24 +0200
committerChristoph Hellwig <hch@lst.de>2020-07-16 15:35:03 +0200
commitd82fa81c2364a464ae585eed523496aa00909c17 (patch)
tree2277803922ee5d0e12aa68ea40909ae90a96efbc /drivers/md/md.h
parent4f5b246b37e024955c0fcca0c7f5952089052d1d (diff)
downloadlinux-d82fa81c2364a464ae585eed523496aa00909c17.tar.gz
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>
Diffstat (limited to 'drivers/md/md.h')
-rw-r--r--drivers/md/md.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h
index 612814d07d35..37315a3f28e9 100644
--- a/drivers/md/md.h
+++ b/drivers/md/md.h
@@ -800,4 +800,7 @@ static inline void mddev_check_write_zeroes(struct mddev *mddev, struct bio *bio
 	    !bio->bi_disk->queue->limits.max_write_zeroes_sectors)
 		mddev->queue->limits.max_write_zeroes_sectors = 0;
 }
+
+void md_autostart_arrays(int part);
+
 #endif /* _MD_MD_H */