
3 Oct
2017
3 Oct
'17
2:51 p.m.
On Sun, Sep 03, 2017 at 05:00:27PM +0200, Marek Behún wrote:
BTRFS on disk structures are stored in Little Endian. Add functions to convert this structures to cpu and to disk format.
On Little Endian hosts, these functions do nothing.
On Big Endian the CALL_MACRO_FROM_EACH from variadic-macro.h is used to define all the members for each structure on which cpu_to_le* or le*_to_cpu is to be called.
Signed-off-by: Marek Behun marek.behun@nic.cz
create mode 100644 fs/btrfs/conv-funcs.h
diff --git a/fs/btrfs/conv-funcs.h b/fs/btrfs/conv-funcs.h new file mode 100644 index 0000000000..f2e7944e4e
Applied to u-boot/master, thanks!
--
Tom