# include <liblustre.h>
#endif
-# include <linux/lustre_dlm.h>
+#include <linux/lustre_dlm.h>
#include <linux/kp30.h>
#include <linux/lustre_net.h>
#include <lustre/lustre_user.h>
ptlrpc_req_finished(req);
RETURN(rc);
}
- RETURN(-EINVAL);
+ RETURN(-EPROTO);
}
static int osc_set_info(struct obd_export *exp, obd_count keylen,
unsigned long connect_flags)
{
int rc;
-
+ ENTRY;
rc = client_connect_import(exph, obd, cluuid, connect_flags);
-
- return rc;
+ RETURN(rc);
}
static int osc_disconnect(struct obd_export *exp, int flags)
struct obd_device *obd = class_exp2obd(exp);
struct llog_ctxt *ctxt;
int rc;
+ ENTRY;
ctxt = llog_get_context(&obd->obd_llogs, LLOG_SIZE_REPL_CTXT);
if (obd->u.cli.cl_conn_count == 1)
llog_sync(ctxt, exp);
rc = client_disconnect_export(exp, flags);
- return rc;
+ RETURN(rc);
}
static int osc_import_event(struct obd_device *obd,