]> 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)
commit85b5081295dd6d7f5dd4f520db0f5556fb32a72f
tree8ea88607620419e887d4d80c3aba14f310b478a6
parentdb0118d80daf5f8b01e4671ec252ed06796a1059
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