Am 23.09.2014 um 11:40 hat Stefan Hajnoczi geschrieben: > The beX_to_cpu() and cpu_to_beX() functions perform the same operation - > they do a byteswap if the host CPU endianness is little-endian or a > nothing otherwise. > > The point of two names for the same operation is that it documents which > direction the data is being converted. This makes it clear whether the > data is suitable for CPU processing or in its external representation. > > This patch fixes incorrect beX_to_cpu()/cpu_to_beX() usage. > > Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com>
Thanks, applied to the block branch. Kevin