]> 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)
commit77086286e9ba127ba5153c86bafc93b6be3d1464
tree0993ba0b9ac4d0915a74494a15c8088d77827329
parent59bde8320ccc5184f8df7602472313909a944aaf
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