From 38f909c9cdc884c877a31d63e4b4e9a99fe9f2f0 Mon Sep 17 00:00:00 2001 From: songweibin Date: Tue, 8 Aug 2017 16:35:22 +0800 Subject: [PATCH] libradosstriper: silence warning from -Wreorder Signed-off-by: songweibin --- src/libradosstriper/RadosStriperImpl.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libradosstriper/RadosStriperImpl.cc b/src/libradosstriper/RadosStriperImpl.cc index 8d34ce51ecd56..ac47951657379 100644 --- a/src/libradosstriper/RadosStriperImpl.cc +++ b/src/libradosstriper/RadosStriperImpl.cc @@ -247,10 +247,10 @@ void ReadCompletionData::complete_unlock(int r) { struct WriteCompletionData : CompletionData { /// safe completion handler librados::IoCtxImpl::C_aio_Complete *m_safe; - /// return code of write completion, to be remembered until unlocking happened - int m_writeRc; /// completion object for the unlocking of the striped object at the end of the write librados::AioCompletion *m_unlockCompletion; + /// return code of write completion, to be remembered until unlocking happened + int m_writeRc; /// constructor WriteCompletionData(libradosstriper::RadosStriperImpl * striper, const std::string& soid, -- 2.39.5