add support for /dev/cd* virtual io
authorJohn Crispin <blogic@openwrt.org>
Fri, 3 Oct 2014 15:46:26 +0000 (17:46 +0200)
committerJohn Crispin <blogic@openwrt.org>
Fri, 3 Oct 2014 15:46:26 +0000 (17:46 +0200)
Signed-off-by: John Crispin <blogic@openwrt.org>
block.c

diff --git a/block.c b/block.c
index a1609b4..f4c0bd8 100644 (file)
--- a/block.c
+++ b/block.c
@@ -482,6 +482,7 @@ static void cache_load(int mtd)
        _cache_load("/dev/sd*");
        _cache_load("/dev/hd*");
        _cache_load("/dev/md*");
+       _cache_load("/dev/vd*");
        _cache_load("/dev/mapper/*");
 }