btrfs-progs: tests: fssum, use our endianity helper
authorDavid Sterba <dsterba@suse.com>
Tue, 14 Mar 2017 18:01:35 +0000 (19:01 +0100)
committerDavid Sterba <dsterba@suse.com>
Thu, 16 Mar 2017 16:02:44 +0000 (17:02 +0100)
commit855b4272a4297ee1156304f86a5e9bf81d54a489
tree6cdad48e61c169e5ecd479bbfc78b2c216e3a0d7
parent12cae4c2c6c020cbde440e96a6444ba7dc7ba613
btrfs-progs: tests: fssum, use our endianity helper

The function htonll is not provided by the standard library and we can
replace it by our cpu-to-XX helpers. This switches the endianity of the
checksummed value to LE, but this is not a problem.

Signed-off-by: David Sterba <dsterba@suse.com>
tests/fssum.c