From: Sage Weil Date: Sat, 27 Oct 2012 22:06:20 +0000 (-0700) Subject: os/FileStore: use _fgetattrs() for CLONE X-Git-Tag: v0.55~188^2~17 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ad5ac17f0b227b307d3d57ea445bbdd582bcf93b;p=ceph.git os/FileStore: use _fgetattrs() for CLONE We have the src fd. Signed-off-by: Sage Weil --- diff --git a/src/os/FileStore.cc b/src/os/FileStore.cc index 9013e08fb94..0567be23b70 100644 --- a/src/os/FileStore.cc +++ b/src/os/FileStore.cc @@ -3003,7 +3003,7 @@ int FileStore::_clone(coll_t cid, const hobject_t& oldoid, const hobject_t& newo { map aset; - r = _getattrs(cid, oldoid, aset); + r = _fgetattrs(o, aset, false); if (r < 0) goto out3;