]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: read into correct variable for magic string 887/head
authorJosh Durgin <josh.durgin@inktank.com>
Mon, 2 Dec 2013 22:54:04 +0000 (14:54 -0800)
committerJosh Durgin <josh.durgin@inktank.com>
Mon, 2 Dec 2013 23:16:46 +0000 (15:16 -0800)
commitf11b380e9aacb9b165adc642a618cb3ab1f166fa
tree6d74fc3446d743518348e7e94fbc3daf318edff8
parentcc71fae70b9949e455e3959923d546a002aa3896
osd: read into correct variable for magic string

4d140a71a1a48081b449b7d8dde808eb6e74c6b2 refactored this and
introduced a bug. peek_meta() was accidentally reading into magic,
then replacing magic with val, which was always the empty string,
resulting in the osd always failing to start due to 'mismatched'
magic values.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
src/osd/OSD.cc