Use NativeEndian when parsing DM ioctl results
Use NativeEndian when parsing DM ioctl results

The data returned from ioctls will be in whatever the native endianness
of the machine is. We don't want to endian-convert, we just want to extract
multibyte values out of the [u8], so use NativeEndian instead of
LittleEndian and the right thing should happen.

This is in contrast with the on-disk format, which is little-endian.

Signed-off-by: Andy Grover <b7d524d2f5cc5aebadb6b92b08d3ab26911cde33@redhat.com>

agrover/melvin