Skip to contentSkip to conversation

libblkid: add missing promise raid metadata locations

PATCH Applied Phillip Susi 2 participants 2 messages Jan 2, 2013 – Jan 9, 2013 Util-Linux package

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libblkid: add missing promise raid metadata locations

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(-)
libblkid/src/superblocks/promise_raid.c +1 -1
index 221146d..01e4e37 100644
@@ -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)
Signature · 1 line
1.7.9.5
maintainer Applied
#1 lore raw
Quoted 2 lines · Phillip Susi
 libblkid/src/superblocks/promise_raid.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com