Whamcloud - gitweb
LU-4257 obdclass: Get rid of cl_env hash table
[fs/lustre-release.git] / lustre / obdclass / lu_object.c
index f6f5bb3..c5ca975 100644 (file)
@@ -1593,14 +1593,9 @@ static struct list_head lu_context_remembered;
  */
 void lu_context_key_quiesce(struct lu_context_key *key)
 {
-        struct lu_context *ctx;
-        extern unsigned cl_env_cache_purge(unsigned nr);
+       struct lu_context *ctx;
 
-        if (!(key->lct_tags & LCT_QUIESCENT)) {
-                /*
-                 * XXX layering violation.
-                 */
-                cl_env_cache_purge(~0);
+       if (!(key->lct_tags & LCT_QUIESCENT)) {
                 /*
                  * XXX memory barrier has to go here.
                  */