summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorMariusz Kozlowski <mk@lab.zgora.pl>2010-11-20 13:03:07 +0100
committerChris Mason <chris.mason@oracle.com>2010-11-22 04:26:07 +0100
commit0410c94aff109c02b6774a0ed00114987cda7ce5 (patch)
treed36f25febc48d836420acfa93f2b4b97b63c9ceb /fs/btrfs/ctree.h
parentbtrfs: Show device attr correctly for symlinks (diff)
downloadlinux-0410c94aff109c02b6774a0ed00114987cda7ce5.tar.xz
linux-0410c94aff109c02b6774a0ed00114987cda7ce5.zip
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>
Diffstat (limited to '')
-rw-r--r--fs/btrfs/ctree.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 8db9234f6b41..af52f6d7a4d8 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -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;