From: nikita Date: Wed, 31 May 2006 11:10:30 +0000 (+0000) Subject: lu_object_find(): fix site->ls_busy accouting bug, found by Huang Hua X-Git-Tag: v1_8_0_110~486^2~1722 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=7069325477ae9a3cd3c6600d9040342dfc577837;p=fs%2Flustre-release.git lu_object_find(): fix site->ls_busy accouting bug, found by Huang Hua --- diff --git a/lustre/obdclass/lu_object.c b/lustre/obdclass/lu_object.c index dd661f1..7c2f25c 100644 --- a/lustre/obdclass/lu_object.c +++ b/lustre/obdclass/lu_object.c @@ -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