[PATCH] Fix hostraid's file_metadata_areas

Darrick J. Wong djwong at us.ibm.com
Tue Jul 11 01:56:57 UTC 2006


Hi there,

It seems that one can only call file_metadata once per drive.  The
current file_metadata_areas calls it thrice, leading to garbage being
written out when dmraid -rD is invoked.

The attached patch fixes this condition by only calling file_metadata
once for the entire blob of metadata.

--D

Signed-off-by: Darrick J. Wong <djwong at us.ibm.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v11-asr-meta_1.patch
Type: text/x-patch
Size: 1802 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/ataraid-list/attachments/20060710/c5294dcf/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/ataraid-list/attachments/20060710/c5294dcf/attachment.sig>


More information about the Ataraid-list mailing list