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 <[email protected]>
> 
>  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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to