summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authorDoug Ledford <dledford@redhat.com>2010-03-17 10:52:22 -0400
committerNeilBrown <neilb@suse.de>2010-03-24 09:37:34 +1100
commite259df4e63f553c1271fa7d7612c110d2518e572 (patch)
tree0acfce8a4fd8b32adbb4c0645b3f2f1a403160db /mdadm.h
parent435b90e7d41a17f35a984112cace471c975906f4 (diff)
downloadmdadm-e259df4e63f553c1271fa7d7612c110d2518e572.tar.gz
mdadm-e259df4e63f553c1271fa7d7612c110d2518e572.tar.xz
mdadm-e259df4e63f553c1271fa7d7612c110d2518e572.zip
mapfile: if we putting the mapfile in a custom location via ALT_RUN, allow
a custom filename too. Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'mdadm.h')
-rw-r--r--mdadm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mdadm.h b/mdadm.h
index 362b66b..0386129 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -87,6 +87,9 @@ extern __off64_t lseek64 __P ((int __fd, __off64_t __offset, int __whence));
#ifndef ALT_RUN
#define ALT_RUN "/lib/init/rw/mdadm"
#endif /* ALT_RUN */
+#ifndef ALT_MAPFILE
+#define ALT_MAPFILE "map"
+#endif /* ALT_MAPFILE */
#include "md_u.h"
#include "md_p.h"