Commit 1a6a0506 authored by Christoph Hellwig's avatar Christoph Hellwig

md: remove the kernel version of md_u.h

mdp_major can just move to drivers/md/md.h.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarSong Liu <song@kernel.org>
Acked-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a1d6bc01
...@@ -801,6 +801,7 @@ static inline void mddev_check_write_zeroes(struct mddev *mddev, struct bio *bio ...@@ -801,6 +801,7 @@ static inline void mddev_check_write_zeroes(struct mddev *mddev, struct bio *bio
mddev->queue->limits.max_write_zeroes_sectors = 0; mddev->queue->limits.max_write_zeroes_sectors = 0;
} }
extern int mdp_major;
void md_autostart_arrays(int part); void md_autostart_arrays(int part);
#endif /* _MD_MD_H */ #endif /* _MD_MD_H */
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
md_u.h : user <=> kernel API between Linux raidtools and RAID drivers
Copyright (C) 1998 Ingo Molnar
*/
#ifndef _MD_U_H
#define _MD_U_H
#include <uapi/linux/raid/md_u.h>
extern int mdp_major;
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment