From 666a32da9c250376882838557dbc317700dba208 Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Mon, 14 Aug 2017 14:12:05 +0100 Subject: [PATCH] [block-cache] remove spurious FIXME --- block-cache/block_cache.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/block-cache/block_cache.cc b/block-cache/block_cache.cc index f8d112b..5a367f4 100644 --- a/block-cache/block_cache.cc +++ b/block-cache/block_cache.cc @@ -521,7 +521,9 @@ block_cache::lookup_or_read_block(block_address index, unsigned flags, issue_read(*b); wait_specific(*b); v->check(b->data_, b->index_); - unlink_block(*b); // FIXME: what if it's on the error list? + + // we know the block is clean and unerrored. + unlink_block(*b); } b->v_ = v;