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:
a497ced
)
don't propagate capability keys when mdt has exit.
author
lsy
<lsy>
Thu, 5 Oct 2006 13:55:18 +0000
(13:55 +0000)
committer
lsy
<lsy>
Thu, 5 Oct 2006 13:55:18 +0000
(13:55 +0000)
lustre/mds/mds_lov.c
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_lov.c
b/lustre/mds/mds_lov.c
index
028d290
..
8693ae9
100644
(file)
--- a/
lustre/mds/mds_lov.c
+++ b/
lustre/mds/mds_lov.c
@@
-635,6
+635,9
@@
static int mds_propagate_capa_keys(struct mds_obd *mds)
{
struct lustre_capa_key *key;
int i, rc = 0;
+
+ if (!mds->mds_capa_keys)
+ return 0;
ENTRY;
for (i = 0; i < 2; i++) {