From: Greg Farnum Date: Thu, 24 Apr 2014 22:38:51 +0000 (-0700) Subject: FileStore: remove dead code X-Git-Tag: v0.83~109^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7267a37d0370d3c50c4e1484924cfbef3c739766;p=ceph.git FileStore: remove dead code This case wasn't reachable when it was introduced, and it's still not. Signed-off-by: Greg Farnum --- diff --git a/src/os/FileStore.cc b/src/os/FileStore.cc index e0021a09aea7..f183b3a3f4c5 100644 --- a/src/os/FileStore.cc +++ b/src/os/FileStore.cc @@ -3822,12 +3822,6 @@ int FileStore::_setattrs(coll_t cid, const ghobject_t& oid, mapfirst) && inline_set.size() >= m_filestore_max_inline_xattrs) { - if (inline_set.count(p->first)) { - inline_set.erase(p->first); - r = chain_fremovexattr(**fd, n); - if (r < 0) - goto out_close; - } omap_set[p->first].push_back(p->second); continue; }