diff options
author | Christoph Hellwig <hch@lst.de> | 2020-06-06 15:00:24 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-07-16 15:35:03 +0200 |
commit | d82fa81c2364a464ae585eed523496aa00909c17 (patch) | |
tree | 2277803922ee5d0e12aa68ea40909ae90a96efbc /drivers/md/md.h | |
parent | 4f5b246b37e024955c0fcca0c7f5952089052d1d (diff) | |
download | linux-d82fa81c2364a464ae585eed523496aa00909c17.tar.bz2 |
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.h | 3 |
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 */ |