Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -13
+1
drivers/md/md.h
··· 801 801 mddev->queue->limits.max_write_zeroes_sectors = 0; 802 802 } 803 803 804 + extern int mdp_major; 804 805 void md_autostart_arrays(int part); 805 806 806 807 #endif /* _MD_MD_H */
-13
include/linux/raid/md_u.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 - /* 3 - md_u.h : user <=> kernel API between Linux raidtools and RAID drivers 4 - Copyright (C) 1998 Ingo Molnar 5 - 6 - */ 7 - #ifndef _MD_U_H 8 - #define _MD_U_H 9 - 10 - #include <uapi/linux/raid/md_u.h> 11 - 12 - extern int mdp_major; 13 - #endif