commit | f35f71244da6e51db4e1f2c7e318581f498ececf | [log] [tgz] |
---|---|---|
author | Michal Nazarewicz <mina86@mina86.com> | Fri Jun 13 15:38:05 2014 +0200 |
committer | Felipe Balbi <balbi@ti.com> | Mon Jun 30 13:23:58 2014 -0500 |
tree | 5d8dd08759933b841f96e76d1eb57db0113d1d7d | |
parent | 508ccea177ba35cbac382b9873c5cd77985bdf8d [diff] |
tools: ffs-test: fix header values endianess It appears that no one ever run ffs-test on a big-endian machine, since it used cpu-endianess for fs_count and hs_count fields which should be in little-endian format. Fix by wrapping the numbers in cpu_to_le32. Cc: stable@vger.kernel.org Signed-off-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Felipe Balbi <balbi@ti.com>