From: Sage Weil Date: Tue, 24 May 2011 16:24:42 +0000 (-0700) Subject: mds: initialize stray_index on startup X-Git-Tag: v0.28.2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=081acc4ce25ab3440775837eb228f81ed859b714;p=ceph.git mds: initialize stray_index on startup Signed-off-by: Sage Weil --- diff --git a/src/mds/MDCache.cc b/src/mds/MDCache.cc index 521be12a7a9..9a5153039db 100644 --- a/src/mds/MDCache.cc +++ b/src/mds/MDCache.cc @@ -127,6 +127,7 @@ MDCache::MDCache(MDS *m) root = NULL; myin = NULL; + stray_index = 0; for (int i = 0; i < NUM_STRAY; ++i) { strays[i] = NULL; }