* dmraid/lib/format/ataraid pdc.c
@ 2009-12-14 14:33 heinzm
0 siblings, 0 replies; only message in thread
From: heinzm @ 2009-12-14 14:33 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: dmraid
Changes by: heinzm@sourceware.org 2009-12-14 14:33:14
Modified files:
lib/format/ataraid: pdc.c
Log message:
pdc: fix offset.dat file (Neil Brown)
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/dmraid/lib/format/ataraid/pdc.c.diff?cvsroot=dm&r1=1.7&r2=1.8
--- dmraid/lib/format/ataraid/pdc.c 2009/11/02 13:20:40 1.7
+++ dmraid/lib/format/ataraid/pdc.c 2009/12/14 14:33:13 1.8
@@ -202,8 +202,11 @@
break;
/* Memorize main metadata sector. */
- } else if (!info->u32)
+ } else if (!info->u32) {
info->u32 = *s;
+ *offset = sub ? di->sectors - *s :
+ *s;
+ }
}
}
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-12-14 14:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-14 14:33 dmraid/lib/format/ataraid pdc.c heinzm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.