Whamcloud - gitweb
LU-137 obdclass: add dt_object_put() and use it
[fs/lustre-release.git] / lustre / lod / lod_lov.c
index 1c1db0b..fea2d33 100644 (file)
@@ -899,7 +899,7 @@ out:
        if (rc != 0) {
                for (i = 0; i < stripe_len; i++)
                        if (stripe[i] != NULL)
-                               lu_object_put(env, &stripe[i]->do_lu);
+                               dt_object_put(env, stripe[i]);
 
                OBD_FREE(stripe, sizeof(stripe[0]) * stripe_len);
                lo->ldo_stripenr = 0;