if (!m->cmm_fld) {
cmm_device_free(env, l);
l = ERR_PTR(-ENOMEM);
- }
+ }
}
RETURN(l);
}
ls = cmm2lu_dev(m)->ld_site;
lu_site2md(ls)->ms_client_fld = m->cmm_fld;
err = cmm_procfs_init(m, name);
-
+
RETURN(err);
}
static struct lu_device *cmm_device_fini(const struct lu_env *env,
struct lu_device *ld)
{
- struct cmm_device *cm = lu2cmm_dev(ld);
+ struct cmm_device *cm = lu2cmm_dev(ld);
struct mdc_device *mc, *tmp;
struct lu_site *ls;
ENTRY;