mirror of
https://github.com/ceph/ceph
synced 2024-12-17 08:57:28 +00:00
Merge pull request #8980 from stiopaa1/osd_unneededmapassign
osd/OSD.h: remove unneeded line Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn> Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
3134a2dbc1
@ -1148,7 +1148,6 @@ public:
|
||||
void add_pgid(spg_t pgid, PG *pg) {
|
||||
Mutex::Locker l(pgid_lock);
|
||||
if (!pgid_tracker.count(pgid)) {
|
||||
pgid_tracker[pgid] = 0;
|
||||
live_pgs[pgid] = pg;
|
||||
}
|
||||
pgid_tracker[pgid]++;
|
||||
|
Loading…
Reference in New Issue
Block a user