提交 0410c94a 编写于 作者: M Mariusz Kozlowski 提交者: Chris Mason

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: NMariusz Kozlowski <mk@lab.zgora.pl>
Signed-off-by: NChris Mason <chris.mason@oracle.com>
上级 f209561a
...@@ -808,9 +808,9 @@ struct btrfs_block_group_cache { ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册