btrfs: pass btrfs_fs_info for deleting snapshots and cleaner
authorJosef Bacik <josef@toxicpanda.com>
Fri, 18 Feb 2022 19:56:11 +0000 (14:56 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 14 Mar 2022 12:13:52 +0000 (13:13 +0100)
commit33c44184991ec38e637cc4021e3b5e7d2288cea5
tree8ea88607620419e887d4d80c3aba14f310b478a6
parentc067da87815657779115b8eae01c514458e4dfd2
btrfs: pass btrfs_fs_info for deleting snapshots and cleaner

We're passing a root around here, but we only really need the fs_info,
so fix up btrfs_clean_one_deleted_snapshot() to take an fs_info instead,
and then fix up all the callers appropriately.

Reviewed-by: Filipe Manana <fdmanana@suse.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/disk-io.c
fs/btrfs/transaction.c
fs/btrfs/transaction.h