diff mbox

btrfs: make 1-bit signed fileds unsigned

Message ID 1290254587-12185-1-git-send-email-mk@lab.zgora.pl (mailing list archive)
State New, archived
Headers show

Commit Message

Mariusz Kozlowski Nov. 20, 2010, 12:03 p.m. UTC
None
diff mbox

Patch

diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 8db9234..af52f6d 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;