mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
FileStore: remove dead code
This case wasn't reachable when it was introduced, and it's still not. Signed-off-by: Greg Farnum <greg@inktank.com>
This commit is contained in:
parent
e3b995e156
commit
7267a37d03
@ -3822,12 +3822,6 @@ int FileStore::_setattrs(coll_t cid, const ghobject_t& oid, map<string,bufferptr
|
||||
|
||||
if (!inline_set.count(p->first) &&
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user