#include <sys/stat.h>
#include <sys/queue.h>
+#include <sysio.h>
#ifdef HAVE_XTIO_H
#include <xtio.h>
#endif
-#include <sysio.h>
#include <fs.h>
#include <mount.h>
#include <inode.h>
* of 'LIST_HEAD'. undef it to suppress warnings
*/
#undef LIST_HEAD
+#include <liblustre.h>
#include <lnet/lnetctl.h> /* needed for parse_dump */
#include "lutil.h"
init_obdclass() ||
ptlrpc_init() ||
mgc_init() ||
+ lmv_init() ||
mdc_init() ||
lov_init() ||
osc_init())
ocd->ocd_connect_flags = OBD_CONNECT_VERSION;
ocd->ocd_version = LUSTRE_VERSION_CODE;
- rc = obd_connect(&mgc_conn, obd, &mgc_uuid, ocd);
+ rc = obd_connect(NULL, &mgc_conn, obd, &mgc_uuid, ocd);
if (rc) {
CERROR("cannot connect to %s at %s: rc = %d\n",
LUSTRE_MGS_OBDNAME, mgsnid, rc);
err = class_process_config(lcfg);
lustre_cfg_free(lcfg);
if (err)
- CERROR("mdc_cleanup failed: rc = %d\n", err);
+ CERROR("md_cleanup failed: rc = %d\n", err);
out_detach:
lustre_cfg_bufs_reset(&bufs, name);
err = class_process_config(lcfg);
lustre_cfg_free(lcfg);
if (err)
- CERROR("mdc_detach failed: rc = %d\n", err);
+ CERROR("md_detach failed: rc = %d\n", err);
out_del_uuid:
lustre_cfg_bufs_reset(&bufs, name);