Whamcloud - gitweb
LU-8130 lu_object: use RCU to free lu_object_header
[fs/lustre-release.git] / lustre / lod / lod_object.c
index c218c5e..d19f91d 100644 (file)
@@ -8463,6 +8463,7 @@ static void lod_object_free(const struct lu_env *env, struct lu_object *o)
        /* release all underlying object pinned */
        lod_striping_free(env, lo);
        lu_object_fini(o);
+       /* lo doesn't contain a lu_object_header, so we don't need call_rcu */
        OBD_SLAB_FREE_PTR(lo, lod_object_kmem);
 }