diff options
author | Filipe Manana <fdmanana@suse.com> | 2023-05-29 16:17:04 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-06-19 13:59:32 +0200 |
commit | 61c681fef7dd44521070fd4198abede2077afb8e (patch) | |
tree | c5f0ca05d092331e3360a0e8e922ee84cc172557 /lib/linear_ranges.c | |
parent | 1e6b71c34bbbbde920357265abd161cb727487b8 (diff) |
btrfs: use bool type for delayed ref head fields that are used as booleans
There's no point in have several fields defined as 1 bit unsigned int in
struct btrfs_delayed_ref_head, we can instead use a bool type, it makes
the code a bit more readable and it doesn't change the structure size.
So switch them to proper booleans.
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'lib/linear_ranges.c')
0 files changed, 0 insertions, 0 deletions