Whamcloud - gitweb
don't propagate capability keys when mdt has exit.
authorlsy <lsy>
Thu, 5 Oct 2006 13:55:18 +0000 (13:55 +0000)
committerlsy <lsy>
Thu, 5 Oct 2006 13:55:18 +0000 (13:55 +0000)
lustre/mds/mds_lov.c

index 028d290..8693ae9 100644 (file)
@@ -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++) {