From 29f6208cc7a0a0b4857e37d40a273dcd9f3f0517 Mon Sep 17 00:00:00 2001 From: tappro Date: Mon, 14 Aug 2006 22:41:31 +0000 Subject: [PATCH] fix defect with list_add_tail() params. --- lustre/obdclass/lu_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/obdclass/lu_object.c b/lustre/obdclass/lu_object.c index 3ca4517..fa60c02 100644 --- a/lustre/obdclass/lu_object.c +++ b/lustre/obdclass/lu_object.c @@ -451,7 +451,7 @@ struct lu_object *lu_object_find(const struct lu_context *ctxt, shadow = htable_lookup(s, bucket, f); if (shadow == NULL) { hlist_add_head(&o->lo_header->loh_hash, bucket); - list_add_tail(&s->ls_lru, &o->lo_header->loh_lru); + list_add_tail(&o->lo_header->loh_lru, &s->ls_lru); ++ s->ls_busy; shadow = o; o = NULL; -- 1.8.3.1