]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8478ea95d4bad7fd43586a27fc83946e1a5003b0
tree0993ba0b9ac4d0915a74494a15c8088d77827329
parentc490bc291ef2bdfe3d74a0ea60917662254a5eaf
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