]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs: btrfs: Crossport structure accessor into ctree.h
authorQu Wenruo <wqu@suse.com>
Wed, 24 Jun 2020 16:02:53 +0000 (18:02 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 8 Sep 2020 00:57:27 +0000 (20:57 -0400)
commitbe3594254605047d0623f905329d160544ca925c
treea5f3ddd61bbb247025d666af0f98f2afe20815d3
parent9a9be5ec17d24779945a8b3e595c105d98596bdd
fs: btrfs: Crossport structure accessor into ctree.h

This brings all structure accessors from btrfs-progs/ctree.h, as in
kernel's ctree.h.

All these accessors handle the endian convert at runtime, and since all
of them are defined as static inline functions, those which aren't used
won't take space in resulting binary.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Marek BehĂșn <marek.behun@nic.cz>
fs/btrfs/compat.h
fs/btrfs/ctree.h
fs/btrfs/disk-io.h