On Monday 26 February 2018, Karel Zak wrote: > 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! Always nice to see when it was worth to ask for adding a test case :) cu, Rudi -- 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