From 7267a37d0370d3c50c4e1484924cfbef3c739766 Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Thu, 24 Apr 2014 15:38:51 -0700 Subject: [PATCH] FileStore: remove dead code This case wasn't reachable when it was introduced, and it's still not. Signed-off-by: Greg Farnum --- src/os/FileStore.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/os/FileStore.cc b/src/os/FileStore.cc index e0021a09aea..f183b3a3f4c 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; } -- 2.47.3