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:
@@ -473,6 +473,7 @@ public:
|
||||
break;
|
||||
case item_state::DISK:
|
||||
_disk_lru.erase(_disk_lru.iterator_to(item_ref));
|
||||
break;
|
||||
default:
|
||||
assert(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user