btrfs: open code trivial helper btrfs_header_chunk_tree_uuid
authorDavid Sterba <dsterba@suse.com>
Wed, 20 Mar 2019 12:17:13 +0000 (13:17 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Mar 2020 16:01:44 +0000 (17:01 +0100)
commitc4ac75419826c7afc997bbe4da07ad6f963da22f
tree0993ba0b9ac4d0915a74494a15c8088d77827329
parent9a8658e33d8fd45879eebc44178b2a172e76bb47
btrfs: open code trivial helper btrfs_header_chunk_tree_uuid

The helper btrfs_header_chunk_tree_uuid follows naming convention of
other struct accessors but does something compeletly different. As the
offsetof calculation is clear in the context of extent buffer operations
we can remove it.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/disk-io.c