mirror of
https://github.com/ceph/ceph
synced 2025-01-31 07:22:56 +00:00
Merge pull request #17593 from shashalu/fix-clean-up-apply_epoch
rgw: drop unused function apply_epoch Reviewed-by: Jos Collin <jcollin@redhat.com>
This commit is contained in:
commit
fa0a832ee6
@ -1218,15 +1218,6 @@ public:
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool apply_epoch(uint64_t candidate_epoch) {
|
||||
if (candidate_epoch < olh_data_entry.epoch) {
|
||||
return false;
|
||||
}
|
||||
|
||||
olh_data_entry.epoch = candidate_epoch;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool start_modify(uint64_t candidate_epoch) {
|
||||
if (candidate_epoch) {
|
||||
if (candidate_epoch < olh_data_entry.epoch) {
|
||||
|
Loading…
Reference in New Issue
Block a user