diff options
author | David Sterba <dsterba@suse.com> | 2022-06-23 17:08:14 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-07-25 17:45:40 +0200 |
commit | 710d5921d1431fa7d6fef8b47bb391256560bfd0 (patch) | |
tree | e4007aa1b876eb713cb1d90db0813a996dca9e96 /fs/btrfs/block-rsv.h | |
parent | c70c2c5bc9a14166a409f18567815d3bc426ebbb (diff) |
btrfs: switch btrfs_block_rsv::failfast to bool
Use simple bool type for the block reserve failfast status, there's
short to save space as there used to be int but there's no reason for
that.
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/block-rsv.h')
-rw-r--r-- | fs/btrfs/block-rsv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/block-rsv.h b/fs/btrfs/block-rsv.h index 99c491ef128e..0702d4087ff6 100644 --- a/fs/btrfs/block-rsv.h +++ b/fs/btrfs/block-rsv.h @@ -26,8 +26,8 @@ struct btrfs_block_rsv { struct btrfs_space_info *space_info; spinlock_t lock; bool full; + bool failfast; unsigned short type; - unsigned short failfast; /* * Qgroup equivalent for @size @reserved |