mdassemble is meant to be small an simple, so avoid
trying to check for a cluster.
Currently it doesn't, but it still includes the code,
which doesn't build because the library isn't provided.
So just exclude the get_cluster_name code from mdassemble.
Signed-off-by: NeilBrown <neilb@suse.com>
if (fd >= 0 && fd != mdfd)
dup2(fd, mdfd);
}
-
+#ifndef MDASSEMBLE
int get_cluster_name(char **cluster_name)
{
void *lib_handle = NULL;
dlclose(lib_handle);
return rv;
}
+#endif