flashcache: fix erase on disk-based items

Fixed by adding missing break statement.

Signed-off-by: Raphael S. Carvalho <raphaelsc@cloudius-systems.com>
This commit is contained in:
Raphael S. Carvalho
2014-12-01 10:26:19 -02:00
parent c90e56e4fb
commit 9de9f34423

View File

@@ -473,6 +473,7 @@ public:
break;
case item_state::DISK:
_disk_lru.erase(_disk_lru.iterator_to(item_ref));
break;
default:
assert(0);
}