Whamcloud - gitweb
LU-4517 tests: get params directly in _wait_osc_import_state
[fs/lustre-release.git] / lustre / osd-zfs / osd_object.c
index 31180c6..8c2aba6 100644 (file)
@@ -1491,7 +1491,7 @@ static int osd_object_create(const struct lu_env *env, struct dt_object *dt,
 
        db = osd_create_type_f(dof->dof_type)(env, osd, attr, zapid, oh);
        if (IS_ERR(db))
-               GOTO(out, rc = PTR_ERR(th));
+               GOTO(out, rc = PTR_ERR(db));
 
        zde->zde_pad = 0;
        zde->zde_dnode = db->db_object;