diff options
author | Samuel Just <samuel.just@dreamhost.com> | 2011-09-01 17:15:33 -0700 |
---|---|---|
committer | Samuel Just <samuel.just@dreamhost.com> | 2011-09-02 15:06:36 -0700 |
commit | 9956e52eaf1856b72381fbf2891fccd890edf211 (patch) | |
tree | 83a4cbc3f8c1d13053fd0c54bd880284b433dd82 | |
parent | bdb3abee48596031bdece698d097327ff32c260e (diff) | |
download | ceph-9956e52eaf1856b72381fbf2891fccd890edf211.tar.gz |
OSD: fix hobject_t construction
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
-rw-r--r-- | src/osd/OSD.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index de70ae21eb9..85d922cab11 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -5067,7 +5067,8 @@ void OSD::handle_op(MOSDOp *op) if ((op->get_flags() & CEPH_OSD_FLAG_PGOP) == 0) { // missing object? - hobject_t head(op->get_oid(), CEPH_NOSNAP, op->get_pg().ps()); + hobject_t head(op->get_oid(), op->get_object_locator().key, + CEPH_NOSNAP, op->get_pg().ps()); if (pg->is_missing_object(head)) { pg->wait_for_missing_object(head, op); pg->unlock(); |