mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 10:29:37 +00:00
btrfs: make 1-bit signed fileds unsigned
Fixes these sparse warnings: fs/btrfs/ctree.h:811:17: error: dubious one-bit signed bitfield fs/btrfs/ctree.h:812:20: error: dubious one-bit signed bitfield fs/btrfs/ctree.h:813:19: error: dubious one-bit signed bitfield Signed-off-by: Mariusz Kozlowski <mk@lab.zgora.pl> Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
f209561ad8
commit
0410c94aff
1 changed files with 3 additions and 3 deletions
|
@ -808,9 +808,9 @@ struct btrfs_block_group_cache {
|
||||||
int extents_thresh;
|
int extents_thresh;
|
||||||
int free_extents;
|
int free_extents;
|
||||||
int total_bitmaps;
|
int total_bitmaps;
|
||||||
int ro:1;
|
unsigned int ro:1;
|
||||||
int dirty:1;
|
unsigned int dirty:1;
|
||||||
int iref:1;
|
unsigned int iref:1;
|
||||||
|
|
||||||
int disk_cache_state;
|
int disk_cache_state;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue