Skip to content
Commit 98efb4eb authored by David Sterba's avatar David Sterba
Browse files

btrfs: use helper sizeof_field in struct accessors



There's a helper for obtaining size of a struct member, we can use it
instead of open coding the pointer magic.

Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 16c3a476
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment