Whamcloud - gitweb
lu_object_find(): fix site->ls_busy accouting bug, found by Huang Hua
authornikita <nikita>
Wed, 31 May 2006 11:10:30 +0000 (11:10 +0000)
committernikita <nikita>
Wed, 31 May 2006 11:10:30 +0000 (11:10 +0000)
lustre/obdclass/lu_object.c

index dd661f1..7c2f25c 100644 (file)
@@ -324,6 +324,7 @@ struct lu_object *lu_object_find(const struct lu_context *ctxt,
         if (shadow == NULL) {
                 hlist_add_head(&o->lo_header->loh_hash, bucket);
                 list_add_tail(&s->ls_lru, &o->lo_header->loh_lru);
+                ++ s->ls_busy;
                 shadow = o;
                 o = NULL;
         } else