On Mon, Feb 26, 2018 at 10:44:12PM +0000, John Groves (jgroves) wrote: > Doh! Mpool stores its metadata as little endian, and rigorously uses > le32_to_cpu and the like to move on-media structures to & from > memory. > > le32_to_cpu(osd->osb_cksum1) would be the correct way to handle it. Fixed. Thanks for quick reply! Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html