btrfs: move struct io_ctl to free-space-cache.h
authorDavid Sterba <dsterba@suse.com>
Wed, 21 Aug 2019 17:57:04 +0000 (19:57 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 9 Sep 2019 12:59:15 +0000 (14:59 +0200)
commit67b61aefcef3842a360e6c603860a785fd971c7a
tree8473d83a10d61a4bc2da39f42a4dd005ed3276a9
parent18d0f5c6e16ce762f92ab7879c30ff2e37cd9cef
btrfs: move struct io_ctl to free-space-cache.h

The io_ctl structure is used for free space management, and used only by
the v1 space cache code, but unfortunatlly the full definition is
required by block-group.h so it can't be moved to free-space-cache.c
without additional changes.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/block-group.h
fs/btrfs/ctree.h
fs/btrfs/free-space-cache.h