Re: Ubuntu Patches [7/16]

Phillip Susi <[email protected]> Fri, 04 Mar 2011 23:08:23 -0500
Newsgroups gmane.linux.ataraid
Message-ID <[email protected]>
_______________________________________________
Ataraid-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/ataraid-list
12_support_virtio_devices.patch (text/x-patch, 534 B)
Author: Luke Yelavich <[email protected]>
Description: Support for checking virtio devices for dmraid metadata.
--- a/1.0.0.rc16/lib/device/scan.c
+++ b/1.0.0.rc16/lib/device/scan.c
@@ -174,7 +174,7 @@ interested(struct lib_context *lc, char 
 	 * Whole IDE and SCSI disks only.
 	 */
 	return (!isdigit(name[strlen(name) - 1]) &&
-		(*(name + 1) == 'd' && (*name == 'h' || *name == 's')))
+		(*(name + 1) == 'd' && (*name == 'h' || *name == 's' || *name == 'v')))
 #ifdef	DMRAID_TEST
 		/*
 		 * Include dm devices for testing.