summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-06-07 16:33:01 +0200
committerChristoph Hellwig <hch@lst.de>2020-07-16 15:35:21 +0200
commit1a6a050620e496abf42749a2e1d3882645cc053f (patch)
treef86428cee740f53b3985c91b61f5a4441b690b46
parenta1d6bc018911390274e3904bdd28240cd96ddc54 (diff)
md: remove the kernel version of md_u.h
mdp_major can just move to drivers/md/md.h. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Song Liu <song@kernel.org> Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/md/md.h1
-rw-r--r--include/linux/raid/md_u.h13
2 files changed, 1 insertions, 13 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h
index 37315a3f28e9..6f8fff77ce10 100644
--- a/drivers/md/md.h
+++ b/drivers/md/md.h
@@ -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;
}
+extern int mdp_major;
void md_autostart_arrays(int part);
#endif /* _MD_MD_H */
diff --git a/include/linux/raid/md_u.h b/include/linux/raid/md_u.h
deleted file mode 100644
index 8dfec085a20e..000000000000
--- a/include/linux/raid/md_u.h
+++ /dev/null
@@ -1,13 +0,0 @@
-/* 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