summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-05-23 13:04:33 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-05-24 09:56:09 -0700
commit03de250a269bfa8e6a9e6ccb4a1dbce19dae8a61 (patch)
tree9829b363599187fefab9ddc31be014075b474d12 /include
parent84255d1018c50e72c71a49f359989597d53a3f53 (diff)
downloadlinux-3.10-03de250a269bfa8e6a9e6ccb4a1dbce19dae8a61.tar.gz
linux-3.10-03de250a269bfa8e6a9e6ccb4a1dbce19dae8a61.tar.bz2
linux-3.10-03de250a269bfa8e6a9e6ccb4a1dbce19dae8a61.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/raid/md.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/raid/md.h b/include/linux/raid/md.h
index 81a1a02d456..b7386ae9d28 100644
--- a/include/linux/raid/md.h
+++ b/include/linux/raid/md.h
@@ -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),