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
(parent:
7e60f2f
)
client capa list is sorted.
author
lsy
<lsy>
Wed, 21 Sep 2005 06:58:38 +0000
(06:58 +0000)
committer
lsy
<lsy>
Wed, 21 Sep 2005 06:58:38 +0000
(06:58 +0000)
new capa for mds and oss should be added at the end. (so it should be sorted too)
lustre/obdclass/capa.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/capa.c
b/lustre/obdclass/capa.c
index
5a78a82
..
5646ec1
100644
(file)
--- a/
lustre/obdclass/capa.c
+++ b/
lustre/obdclass/capa.c
@@
-238,9
+238,11
@@
static inline void list_add_capa(struct obd_capa *ocapa, struct list_head *head)
return;
}
}
+ list_add(&ocapa->c_list, head);
+ return;
}
- list_add(&ocapa->c_list, head);
+ list_add
_tail
(&ocapa->c_list, head);
}
static inline void do_update_capa(struct obd_capa *ocapa, struct lustre_capa *capa)