/* search ost in lov array */
- lov_getref(obd);
+ obd_getref(obd);
for (lov_idx = 0; lov_idx < lov->desc.ld_tgt_count; lov_idx++) {
if (!lov->lov_tgts[lov_idx])
continue;
EXIT;
out:
- lov_putref(obd);
+ obd_putref(obd);
lov_pool_putref(pool);
return rc;
}
obd_str2uuid(&ost_uuid, ostname);
- lov_getref(obd);
+ obd_getref(obd);
/* search ost in lov array, to get index */
for (lov_idx = 0; lov_idx < lov->desc.ld_tgt_count; lov_idx++) {
if (!lov->lov_tgts[lov_idx])
EXIT;
out:
- lov_putref(obd);
+ obd_putref(obd);
lov_pool_putref(pool);
return rc;
}