btrfs: remove struct btrfs_io_geometry
authorChristoph Hellwig <hch@lst.de>
Sat, 21 Jan 2023 06:50:25 +0000 (07:50 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 15 Feb 2023 18:38:52 +0000 (19:38 +0100)
commitf8a02dc6fd38da3dd045509ec321b2f9130bd003
tree8dd2f44f1f2f90dd7d727d2132ee8a84e1aab2f9
parenta34e4c3f884cc592f105d214d21baee9f9c6bae8
btrfs: remove struct btrfs_io_geometry

Now that btrfs_get_io_geometry has a single caller, we can massage it
into a form that is more suitable for that caller and remove the
marshalling into and out of struct btrfs_io_geometry.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c
fs/btrfs/volumes.h