diff options
author | NeilBrown <neilb@suse.de> | 2009-03-30 23:27:03 -0400 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-03-30 23:27:03 -0400 |
commit | 8b2b5c217c20b5460218ab8731295f2e46c7dd29 (patch) | |
tree | f5da8b06b3d2a53e80c31e0c0aa386e381b3a841 /include/linux/raid/md_k.h | |
parent | ef740c372dfd80e706dbf955d4e4aedda6c0c148 (diff) |
md: move LEVEL_* definition from md_k.h to md_u.h
.. as they are part of the user-space interface.
Also move MdpMinorShift into there so we can remove duplication.
Lastly move mdp_major in. It is less obviously part of the user-space
interface, but do_mounts_md.c uses it, and it is acting a bit like
user-space.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'include/linux/raid/md_k.h')
-rw-r--r-- | include/linux/raid/md_k.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/raid/md_k.h b/include/linux/raid/md_k.h index 4aedb9fe2bd8..758ec2842d9a 100644 --- a/include/linux/raid/md_k.h +++ b/include/linux/raid/md_k.h | |||
@@ -20,16 +20,6 @@ | |||
20 | 20 | ||
21 | #ifdef CONFIG_BLOCK | 21 | #ifdef CONFIG_BLOCK |
22 | 22 | ||
23 | #define LEVEL_MULTIPATH (-4) | ||
24 | #define LEVEL_LINEAR (-1) | ||
25 | #define LEVEL_FAULTY (-5) | ||
26 | |||
27 | /* we need a value for 'no level specified' and 0 | ||
28 | * means 'raid0', so we need something else. This is | ||
29 | * for internal use only | ||
30 | */ | ||
31 | #define LEVEL_NONE (-1000000) | ||
32 | |||
33 | #define MaxSector (~(sector_t)0) | 23 | #define MaxSector (~(sector_t)0) |
34 | 24 | ||
35 | typedef struct mddev_s mddev_t; | 25 | typedef struct mddev_s mddev_t; |