Whamcloud - gitweb
LU-6142 lustre: convert some container_of0 to container_of
[fs/lustre-release.git] / lustre / osp / osp_sync.c
index 9eb38af..728c99e 100644 (file)
@@ -1599,7 +1599,7 @@ void osp_sync_local_commit_cb(struct lu_env *env, struct thandle *th,
        struct osp_last_committed_cb    *cb;
        struct osp_device               *d;
 
-       cb = container_of0(dcb, struct osp_last_committed_cb, ospc_cb);
+       cb = container_of(dcb, struct osp_last_committed_cb, ospc_cb);
        d = cb->ospc_dev;
 
        CDEBUG(D_HA, "%s: %llu committed\n", d->opd_obd->obd_name,