summaryrefslogtreecommitdiff
path: root/extent-tree.c
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2018-11-05 11:06:41 -0800
committerDavid Sterba <dsterba@suse.com>2018-11-13 13:20:41 +0100
commited570e2df335063280c9d3affd8bb89919a1ac0d (patch)
tree23b85a08b725dc673f37f8da6de4d30c1fbf5b97 /extent-tree.c
parentd72d913291683188ddf5d758db02f1bc3b05d2f7 (diff)
btrfs-progs: kernel-lib: bitops: Fix big endian compilation
Replaced bswap with _ variants bswap_32 etc. While it's a glibc extension, all of the popular libc implementations (glibc, uClibc, musl, BIONIC) seem to support it. Added static inline to two functions to match little endian variants. This fixes a linking error experienced when compiling on gcc 7.3.0 with LTO, possibly a bug that was fixed later. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'extent-tree.c')
0 files changed, 0 insertions, 0 deletions