diff options
author | David Sterba <dsterba@suse.com> | 2024-05-14 16:48:12 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-07-11 15:33:19 +0200 |
commit | 42317ab440c110618b511290284c6d6c10bcffc7 (patch) | |
tree | c3f772cf50094329d52415a9d32cf8e8fd4122ec /fs/btrfs/super.c | |
parent | 839d6ea4f86de1d2e36a1b02561b4ccd597643b9 (diff) |
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>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r-- | fs/btrfs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index f05cce7c8b8d..117a355dbd7a 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -983,7 +983,7 @@ int btrfs_sync_fs(struct super_block *sb, int wait) return 0; } - btrfs_wait_ordered_roots(fs_info, U64_MAX, 0, (u64)-1); + btrfs_wait_ordered_roots(fs_info, U64_MAX, NULL); trans = btrfs_attach_transaction_barrier(root); if (IS_ERR(trans)) { |