smlinux/base/dmraid/002-support_virtio_devices.patch
PktSurf 887b96a3e3 Added dmraid, iniparser, mozjs, libatasmart, libblockdev, libbytesize,
libyaml, ndctl, polkit, udisks to base and updated base build list
Fixed base/gcc-libs build file
Removed old incomplete base/rust build file
2022-02-28 09:37:31 +05:30

13 lines
518 B
Diff

Author: Luke Yelavich <themuso@ubuntu.com>
Description: Support for checking virtio devices for dmraid metadata.
--- dmraid/lib/device/scan.c
+++ dmraid/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.