Whamcloud - gitweb
LU-137 obdclass: add dt_object_put() and use it
[fs/lustre-release.git] / lustre / mdd / mdd_device.c
index ca63154..620615b 100644 (file)
@@ -984,10 +984,10 @@ int mdd_local_file_create(const struct lu_env *env, struct mdd_device *mdd,
        *fid = *lu_object_fid(&dto->do_lu);
        /* since stack is not fully set up the local_storage uses own stack
         * and we should drop its object from cache */
-       lu_object_put_nocache(env, &dto->do_lu);
+       dt_object_put_nocache(env, dto);
        EXIT;
 out_put:
-       lu_object_put(env, &parent->do_lu);
+       dt_object_put(env, parent);
        return rc;
 }