Whamcloud - gitweb
LU-3963 libcfs: convert DT objects atomic primitives
[fs/lustre-release.git] / lustre / ofd / ofd_dev.c
index 21b124c..cb58b99 100644 (file)
@@ -2140,7 +2140,7 @@ static void ofd_fini(const struct lu_env *env, struct ofd_device *m)
 
        ofd_stack_fini(env, m, &m->ofd_dt_dev.dd_lu_dev);
        ofd_procfs_fini(m);
-       LASSERT(cfs_atomic_read(&d->ld_ref) == 0);
+       LASSERT(atomic_read(&d->ld_ref) == 0);
        server_put_mount(obd->obd_name);
        EXIT;
 }