mirror of
https://github.com/ceph/ceph
synced 2025-01-02 09:02:34 +00:00
Merge pull request #887 from jdurgin/wip-peek-meta
osd: read into correct variable for magic string Reviewed-by: Sage Weil <sage@inktank.com>
This commit is contained in:
commit
283de99c74
@ -731,7 +731,7 @@ int OSD::peek_meta(ObjectStore *store, std::string& magic,
|
||||
{
|
||||
string val;
|
||||
|
||||
int r = store->read_meta("magic", &magic);
|
||||
int r = store->read_meta("magic", &val);
|
||||
if (r < 0)
|
||||
return r;
|
||||
magic = val;
|
||||
|
Loading…
Reference in New Issue
Block a user