Filipe Manana
684b752b09
btrfs: move the block group freeze/unfreeze helpers into block-group.c
...
The helpers btrfs_freeze_block_group() and btrfs_unfreeze_block_group()
used to be named btrfs_get_block_group_trimming() and
btrfs_put_block_group_trimming() respectively.
At the time they were added to free-space-cache.c, by commit e33e17ee10
("btrfs: add missing discards when unpinning extents with -o discard")
because all the trimming related functions were in free-space-cache.c.
Now that the helpers were renamed and are used in scrub context as well,
move them to block-group.c, a much more logical location for them.
Signed-off-by: Filipe Manana <fdmanana@suse.com >
Reviewed-by: David Sterba <dsterba@suse.com >
Signed-off-by: David Sterba <dsterba@suse.com >
2020-05-25 11:25:30 +02:00
..
2020-03-23 17:02:00 +01:00
2019-04-29 19:02:44 +02:00
2020-03-23 17:01:51 +01:00
2020-03-23 17:01:51 +01:00
2020-05-25 11:25:22 +02:00
2020-05-25 11:25:21 +02:00
2020-05-25 11:25:30 +02:00
2020-05-25 11:25:30 +02:00
2020-05-25 11:25:23 +02:00
2020-03-23 17:01:55 +01:00
2020-05-25 11:25:26 +02:00
2020-03-23 17:01:40 +01:00
2020-03-23 17:01:39 +01:00
2020-05-25 11:25:27 +02:00
2019-11-18 12:46:59 +01:00
2020-05-25 11:25:24 +02:00
2020-05-25 11:25:30 +02:00
2020-03-23 17:01:55 +01:00
2019-07-04 17:26:17 +02:00
2020-03-25 16:26:00 +01:00
2020-03-23 17:01:53 +01:00
2020-03-23 17:01:55 +01:00
2019-07-04 17:26:17 +02:00
2020-03-23 17:01:35 +01:00
2019-11-18 12:46:52 +01:00
2019-04-29 19:02:50 +02:00
2020-01-20 16:41:01 +01:00
2020-04-20 17:43:42 +02:00
2020-05-25 11:25:27 +02:00
2020-05-25 11:25:27 +02:00
2020-03-23 17:02:00 +01:00
2020-03-23 17:01:42 +01:00
2020-05-25 11:25:27 +02:00
2020-05-25 11:25:27 +02:00
2020-02-12 17:16:46 +01:00
2019-11-18 23:43:44 +01:00
2020-03-23 17:01:38 +01:00
2020-05-25 11:25:29 +02:00
2020-05-25 11:25:27 +02:00
2020-04-08 19:10:52 +02:00
2020-05-25 11:25:30 +02:00
2020-01-20 16:41:00 +01:00
2020-03-23 17:01:59 +01:00
2019-11-18 17:51:51 +01:00
2019-09-09 14:59:16 +02:00
2020-03-23 17:01:55 +01:00
2018-04-12 16:29:46 +02:00
2020-05-25 11:25:29 +02:00
2020-03-23 17:02:00 +01:00
2019-12-09 17:56:06 +01:00
2020-05-25 11:25:16 +02:00
2020-03-23 17:01:43 +01:00
2019-11-18 12:46:59 +01:00
2020-03-23 17:01:54 +01:00
2020-05-25 11:25:19 +02:00
2020-03-23 17:01:34 +01:00
2020-03-23 17:01:34 +01:00
2018-04-12 16:29:51 +02:00
2020-01-20 16:40:55 +01:00
2018-04-20 19:18:16 +02:00
2020-03-23 17:01:55 +01:00
2019-04-29 19:02:54 +02:00
2020-05-25 11:25:29 +02:00
2020-02-19 00:35:54 +01:00
2020-03-23 17:01:44 +01:00
2019-07-01 13:34:58 +02:00
2020-03-23 17:01:53 +01:00
2019-11-18 17:51:51 +01:00
2020-03-23 17:01:56 +01:00
2019-04-29 19:02:49 +02:00
2020-04-08 19:10:34 +02:00
2020-03-23 17:01:54 +01:00
2020-05-25 11:25:24 +02:00
2020-03-23 17:01:55 +01:00
2020-05-25 11:25:29 +02:00
2020-03-23 17:02:00 +01:00
2018-04-12 16:29:46 +02:00
2020-05-25 11:25:23 +02:00
2020-05-25 11:25:22 +02:00
2019-09-09 14:59:16 +02:00
2020-05-25 11:25:28 +02:00
2020-03-23 18:14:47 +01:00
2020-03-23 17:01:35 +01:00
2020-05-25 11:25:29 +02:00
2020-05-25 11:25:22 +02:00
2020-05-25 11:25:23 +02:00
2019-04-29 19:02:39 +02:00
2019-02-25 14:13:27 +01:00
2020-05-25 11:25:27 +02:00
2019-04-29 19:02:41 +02:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:46 +02:00
2020-03-23 17:01:41 +01:00
2020-05-25 11:25:28 +02:00
2020-03-23 17:01:48 +01:00
2019-06-17 16:37:17 +02:00
2019-04-29 19:02:44 +02:00
2020-01-31 10:30:40 -08:00
2019-11-18 12:46:59 +01:00