Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0410c94a authored by Mariusz Kozlowski's avatar Mariusz Kozlowski Committed by Chris Mason
Browse files

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: default avatarMariusz Kozlowski <mk@lab.zgora.pl>
Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent f209561a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -808,9 +808,9 @@ struct btrfs_block_group_cache {
	int extents_thresh;
	int free_extents;
	int total_bitmaps;
	int ro:1;
	int dirty:1;
	int iref:1;
	unsigned int ro:1;
	unsigned int dirty:1;
	unsigned int iref:1;

	int disk_cache_state;