ext4: fix endianess problems in ext4 write support
authorMichael Walle <michael@walle.cc>
Thu, 1 Sep 2016 09:21:40 +0000 (11:21 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 23 Sep 2016 13:02:04 +0000 (09:02 -0400)
commit58a9ecbaf4a2e2754509f52862a8a039b73b3744
tree2cfc4d927684db621cc90f47561bec5e25ee5c8c
parent7f101be314da1f6f612a1b84822f791d6569946b
ext4: fix endianess problems in ext4 write support

All fields were accessed directly instead of using the proper byte swap
functions. Thus, ext4 write support was only usable on little-endian
architectures. Fix this.

Signed-off-by: Michael Walle <michael@walle.cc>
fs/ext4/ext4_common.c
fs/ext4/ext4_common.h
fs/ext4/ext4_journal.c
fs/ext4/ext4_journal.h
fs/ext4/ext4_write.c
include/ext_common.h