btrfs: open code trivial helper btrfs_header_fsid
authorDavid Sterba <dsterba@suse.com>
Wed, 20 Mar 2019 12:15:57 +0000 (13:15 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Mar 2020 16:01:44 +0000 (17:01 +0100)
commit9a8658e33d8fd45879eebc44178b2a172e76bb47
tree475844974b8019568ef1a0b675a42a067960333e
parent75fb2e9e49c1bff94cf6652c40889690575ece7c
btrfs: open code trivial helper btrfs_header_fsid

The helper btrfs_header_fsid 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