From: songweibin Date: Tue, 8 Aug 2017 08:35:22 +0000 (+0800) Subject: libradosstriper: silence warning from -Wreorder X-Git-Tag: v13.0.0~210^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F16890%2Fhead;p=ceph.git libradosstriper: silence warning from -Wreorder Signed-off-by: songweibin --- diff --git a/src/libradosstriper/RadosStriperImpl.cc b/src/libradosstriper/RadosStriperImpl.cc index 8d34ce51ecd5..ac4795165737 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,