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 a1609b4d17a54fc4b2c61e7169cf5723c90462e5..f4c0bd8ccb457a488ebb9cb56dc2c0c3abd67ddd 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/*");
 }