From 3273581cc16db41770b286034204abf98997d8c5 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 23 Mar 2010 11:47:01 -0700 Subject: [PATCH] mds: fix bug in handle_discover on mdsdir --- src/mds/MDCache.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mds/MDCache.cc b/src/mds/MDCache.cc index f6f4ba39f777d..b83ef5fc028c8 100644 --- a/src/mds/MDCache.cc +++ b/src/mds/MDCache.cc @@ -7368,7 +7368,7 @@ void MDCache::handle_discover(MDiscover *dis) replicate_inode(myin, from, reply->trace); dout(10) << "added mdsdir " << *myin << dendl; - cur = stray; + cur = myin; } else { // there's a base inode -- 2.39.5