btrfs: move defrag related prototypes to their own header
authorJosef Bacik <josef@toxicpanda.com>
Wed, 26 Oct 2022 19:08:25 +0000 (15:08 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 5 Dec 2022 17:00:46 +0000 (18:00 +0100)
commit59b818e064ab9051cd344b82420307e772d6bca7
tree6aa4cebaafe563a591e0b64ddc92cec0cd035339
parenta6a01ca61f4949037fa7b94278ab260eab02a289
btrfs: move defrag related prototypes to their own header

Now that the defrag code is all in one file, create a defrag.h and move
all the defrag related prototypes and helper out of ctree.h and into
defrag.h.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/defrag.c
fs/btrfs/defrag.h [new file with mode: 0644]
fs/btrfs/disk-io.c
fs/btrfs/inode.c
fs/btrfs/ioctl.c
fs/btrfs/super.c
fs/btrfs/transaction.c