From adb05c9d9d9159bed357b86547c6bcf770d5a703 Mon Sep 17 00:00:00 2001 From: John Spray Date: Mon, 22 Jun 2015 12:19:46 +0100 Subject: [PATCH] mds/Migrator: don't use c++11 kw 'final' as var name If for no other reason than that it looks weird in an editor. Signed-off-by: John Spray --- src/mds/Migrator.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mds/Migrator.cc b/src/mds/Migrator.cc index 86e10feb3b157..e7e0e0a39a72c 100644 --- a/src/mds/Migrator.cc +++ b/src/mds/Migrator.cc @@ -1042,12 +1042,12 @@ void Migrator::export_frozen(CDir *dir, uint64_t tid) start = 'f'; // start with dirfrag } - bufferlist final; + bufferlist final_bl; dirfrag_t df = cur->dirfrag(); - ::encode(df, final); - ::encode(start, final); - final.claim_append(tracebl); - prep->add_trace(final); + ::encode(df, final_bl); + ::encode(start, final_bl); + final_bl.claim_append(tracebl); + prep->add_trace(final_bl); } // send. -- 2.39.5