mirror of
https://github.com/ceph/ceph
synced 2025-02-21 01:47:25 +00:00
os/FileStore: use _fgetattrs() for CLONE
We have the src fd. Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
769f47321d
commit
ad5ac17f0b
@ -3003,7 +3003,7 @@ int FileStore::_clone(coll_t cid, const hobject_t& oldoid, const hobject_t& newo
|
||||
|
||||
{
|
||||
map<string, bufferptr> aset;
|
||||
r = _getattrs(cid, oldoid, aset);
|
||||
r = _fgetattrs(o, aset, false);
|
||||
if (r < 0)
|
||||
goto out3;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user