mirror of
https://github.com/ceph/ceph
synced 2025-01-04 02:02:36 +00:00
Merge pull request #11490 from xiexingguo/xxg-wip-bluestore-1014
os/bluestore: use iterator for erase() method directly Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
This commit is contained in:
commit
d04eee8795
@ -8128,7 +8128,7 @@ int BlueStore::_rmattr(TransContext *txc,
|
||||
if (it == o->onode.attrs.end())
|
||||
goto out;
|
||||
|
||||
o->onode.attrs.erase(name);
|
||||
o->onode.attrs.erase(it);
|
||||
txc->write_onode(o);
|
||||
|
||||
out:
|
||||
|
Loading…
Reference in New Issue
Block a user