]> git.ozlabs.org Git - petitboot/blobdiff - devices/udev-helper.c
Make kboot_parser global options array static
[petitboot] / devices / udev-helper.c
index e3ad7a4fb696f138b2d4ee72a07a3fe2e9c14c8b..87a7fc19ab431827c15ec1615cd94a23b5b5d113 100644 (file)
@@ -430,7 +430,8 @@ static int is_removable_device(const char *sysfs_path)
 
 static int is_ignored_device(const char *devname)
 {
-       static const char *ignored_devices[] = { "/dev/ram", NULL };
+       static const char *ignored_devices[] =
+               { "/dev/ram", "/dev/loop", NULL };
        const char **dev;
 
        for (dev = ignored_devices; *dev; dev++)