[PATCH] libblkid: add missing promise raid metadata locations

Phillip Susi
2013-01-02T16:40:53Z

There are some additional locations where dmraid can find
and use pdc raid metadata that libblkid was not checking.
---
libblkid/src/superblocks/promise_raid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libblkid/src/superblocks/promise_raid.c b/libblkid/src/superblocks/promise_raid.c
index 221146d..01e4e37 100644
--- a/libblkid/src/superblocks/promise_raid.c
+++ b/libblkid/src/superblocks/promise_raid.c
@@ -29,7 +29,7 @@ static int probe_pdcraid(blkid_probe pr,
{
unsigned int i;
static unsigned int sectors[] = {
- 63, 255, 256, 16, 399, 0
+ 63, 255, 256, 16, 399, 591, 675, 735, 911, 974, 991, 951, 3087, 0
};

if (pr->size < 0x40000)
--
1.7.9.5