#include <sys/file.h>
#include <ctype.h>
-
#define MAP_READ 0
#define MAP_NEW 1
#define MAP_LOCK 2
mapname[0]) == 0;
}
-
static FILE *lf = NULL;
int map_lock(struct map_ent **melp)
{
* It needs to match what -I or -As would come
* up with.
* That means:
- * Check if array is in mdadm.conf
+ * Check if array is in mdadm.conf
* - if so use that.
* determine trustworthy from homehost etc
* find a unique name based on metadata name.
- *
+ *
*/
struct mddev_ident *match = conf_match(st, info,
NULL, 0,