Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
add070b
)
lu_object_find(): fix site->ls_busy accouting bug, found by Huang Hua
author
nikita
<nikita>
Wed, 31 May 2006 11:10:30 +0000
(11:10 +0000)
committer
nikita
<nikita>
Wed, 31 May 2006 11:10:30 +0000
(11:10 +0000)
lustre/obdclass/lu_object.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/lu_object.c
b/lustre/obdclass/lu_object.c
index
dd661f1
..
7c2f25c
100644
(file)
--- 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