diff options
author | Qu Wenruo <wqu@suse.com> | 2018-01-03 15:13:02 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-01-31 15:14:02 +0100 |
commit | 6b5a5c648bd4e871a68beb9f14a79b61035ebb39 (patch) | |
tree | 5b6f069ba031d5f71f317d6293315c1497fcaed2 /random-test.c | |
parent | 81dd246d953585c08984aa4b059d8c1ee1c8e715 (diff) |
btrfs-progs: Use bool parameter to determine if we're allocating data extent
btrfs_reserve_extent() uses int @data to determine if we're allocating
data extent, while reuse the parameter later to pass it as profile
(data/meta/sys).
It's a little confusing, this patch will follow kernel parameter to use
bool @is_data to replace it.
And in btrfs_reserve_extent(), use dedicated u64 @profile.
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Su Yue <suy.fnst@cn.fujitsu.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'random-test.c')
0 files changed, 0 insertions, 0 deletions