mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
md: proper extern for mdp_major
This patch adds a proper extern for mdp_major in include/linux/raid/md.h Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
84255d1018
commit
03de250a26
2 changed files with 2 additions and 1 deletions
|
@ -72,6 +72,8 @@
|
|||
*/
|
||||
#define MD_PATCHLEVEL_VERSION 3
|
||||
|
||||
extern int mdp_major;
|
||||
|
||||
extern int register_md_personality (struct mdk_personality *p);
|
||||
extern int unregister_md_personality (struct mdk_personality *p);
|
||||
extern mdk_thread_t * md_register_thread (void (*run) (mddev_t *mddev),
|
||||
|
|
|
@ -24,7 +24,6 @@ static struct {
|
|||
|
||||
static int md_setup_ents __initdata;
|
||||
|
||||
extern int mdp_major;
|
||||
/*
|
||||
* Parse the command-line parameters given our kernel, but do not
|
||||
* actually try to invoke the MD device now; that is handled by
|
||||
|
|
Loading…
Reference in a new issue