diff options
author | Sage Weil <sage@redhat.com> | 2014-12-05 02:25:38 +0100 |
---|---|---|
committer | Sage Weil <sage@redhat.com> | 2014-12-17 02:07:58 +0100 |
commit | a599d88615550056991a3a1ea686ec49a1155e03 (patch) | |
tree | 134c873e7b55d445f1bb945be82339deccf8f619 /src/osd/PG.h | |
parent | ceph_objectstore_tool: use '_remove' pgmeta omap key to indicate removal too (diff) | |
download | ceph-a599d88615550056991a3a1ea686ec49a1155e03.tar.xz ceph-a599d88615550056991a3a1ea686ec49a1155e03.zip |
osd: drop legacy arg to PG::peek_map_epoch
The function can figure it out itself, and it's only needed for legacy.
Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'src/osd/PG.h')
-rw-r--r-- | src/osd/PG.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/osd/PG.h b/src/osd/PG.h index 0311947abf8..e05dc677729 100644 --- a/src/osd/PG.h +++ b/src/osd/PG.h @@ -2136,9 +2136,7 @@ public: interval_set<snapid_t> &snap_collections, __u8 &); void read_state(ObjectStore *store, bufferlist &bl); static bool _has_removal_flag(ObjectStore *store, spg_t pgid); - static epoch_t peek_map_epoch(ObjectStore *store, spg_t pgid, - hobject_t legacy_infos_oid, - bufferlist *bl); + static epoch_t peek_map_epoch(ObjectStore *store, spg_t pgid, bufferlist *bl); void update_snap_map( vector<pg_log_entry_t> &log_entries, ObjectStore::Transaction& t); |