RETURN(result);
}
-static int mds_connect_internal(struct obd_export *exp, struct obd_device *obd,
+static int mds_connect_internal(struct obd_export *exp,
struct obd_connect_data *data)
{
+ struct obd_device *obd = exp->exp_obd;
if (data != NULL) {
data->ocd_connect_flags &= MDS_CONNECT_SUPPORTED;
data->ocd_ibits_known &= MDS_INODELOCK_FULL;
if (exp == NULL || obd == NULL || cluuid == NULL)
RETURN(-EINVAL);
- rc = mds_connect_internal(exp, obd, data);
+ rc = mds_connect_internal(exp, data);
RETURN(rc);
}
LASSERT(exp);
med = &exp->exp_mds_data;
- rc = mds_connect_internal(exp, obd, data);
+ rc = mds_connect_internal(exp, data);
if (rc)
GOTO(out, rc);