mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
btrfs: simplify range parameters of btrfs_wait_ordered_roots()
The range is specified only in two ways, we can simplify the case for the whole filesystem range as a NULL block group parameter. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
@@ -4520,7 +4520,7 @@ static void btrfs_destroy_all_ordered_extents(struct btrfs_fs_info *fs_info)
|
||||
* extents that haven't had their dirty pages IO start writeout yet
|
||||
* actually get run and error out properly.
|
||||
*/
|
||||
btrfs_wait_ordered_roots(fs_info, U64_MAX, 0, (u64)-1);
|
||||
btrfs_wait_ordered_roots(fs_info, U64_MAX, NULL);
|
||||
}
|
||||
|
||||
static void btrfs_destroy_delayed_refs(struct btrfs_transaction *trans,
|
||||
|
||||
Reference in New Issue
Block a user