]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5491fa54f0006629cb9d1a6af2b944e043d38f45
tree8ea88607620419e887d4d80c3aba14f310b478a6
parent7102b319ca7ae929b71ee6960a2bcdf4fce72890
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