Commit 33c4418
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>1 parent c067da8 commit 33c4418
3 files changed
Lines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1947 | 1947 | | |
1948 | 1948 | | |
1949 | 1949 | | |
1950 | | - | |
1951 | | - | |
| 1950 | + | |
1952 | 1951 | | |
1953 | 1952 | | |
1954 | 1953 | | |
| |||
1981 | 1980 | | |
1982 | 1981 | | |
1983 | 1982 | | |
1984 | | - | |
| 1983 | + | |
1985 | 1984 | | |
1986 | 1985 | | |
1987 | 1986 | | |
| |||
3806 | 3805 | | |
3807 | 3806 | | |
3808 | 3807 | | |
3809 | | - | |
| 3808 | + | |
3810 | 3809 | | |
3811 | 3810 | | |
3812 | 3811 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2505 | 2505 | | |
2506 | 2506 | | |
2507 | 2507 | | |
2508 | | - | |
| 2508 | + | |
2509 | 2509 | | |
| 2510 | + | |
2510 | 2511 | | |
2511 | | - | |
2512 | 2512 | | |
2513 | 2513 | | |
2514 | 2514 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| |||
0 commit comments