]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Work around an apparent binding bug (GCC 4.8).
authorMatt Benjamin <matt@linuxbox.com>
Thu, 29 May 2014 14:34:20 +0000 (10:34 -0400)
committerJosh Durgin <josh.durgin@inktank.com>
Thu, 10 Jul 2014 01:15:56 +0000 (18:15 -0700)
commitc930a1f119069a424af28a618b0abff4947c221f
tree8aefc14d5d39d23d6724c96877f93cfe41a30cb2
parent7756a136d25458aaa6336c86e6f71d98b31886ff
Work around an apparent binding bug (GCC 4.8).

A reference to h->seq passed to std::pair ostensibly could not bind
because the header structure is packed.  At first this looked like
a more general unaligned access problem, but the only location the
compiler rejects is a false positive.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
src/os/FileJournal.cc