os: FileStore::_destroy_collection may hide the real mistake.

Signed-off-by: Ruifeng Yang <yangruifeng.09209@h3c.com>
This commit is contained in:
Ruifeng Yang 2015-11-17 11:18:27 +08:00
parent 492720e85d
commit 9e9770ca87

View File

@ -5007,7 +5007,7 @@ int FileStore::_destroy_collection(coll_t c)
dout(15) << "_destroy_collection " << fn << dendl;
{
Index from;
int r = get_index(c, &from);
r = get_index(c, &from);
if (r < 0)
goto out;
assert(NULL != from.index);