diff options
author | David Sterba <dsterba@suse.cz> | 2011-05-12 12:13:12 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2011-05-12 12:14:53 -0400 |
commit | 4ea028859bbdad34b84c9951fbb832ae10c6a96c (patch) | |
tree | 2fef94fa86c782589f486099c98b97bb665c869e /fs/btrfs/ctree.h | |
parent | 7a36ddec1003a4e84e79f28ee714a142ed6bc529 (diff) |
btrfs: use unsigned type for single bit bitfield
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index e37d441617d2..343304dec6d1 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -740,12 +740,12 @@ struct btrfs_space_info { | |||
740 | */ | 740 | */ |
741 | unsigned long reservation_progress; | 741 | unsigned long reservation_progress; |
742 | 742 | ||
743 | int full:1; /* indicates that we cannot allocate any more | 743 | unsigned int full:1; /* indicates that we cannot allocate any more |
744 | chunks for this space */ | 744 | chunks for this space */ |
745 | int chunk_alloc:1; /* set if we are allocating a chunk */ | 745 | unsigned int chunk_alloc:1; /* set if we are allocating a chunk */ |
746 | 746 | ||
747 | int force_alloc; /* set if we need to force a chunk alloc for | 747 | unsigned int force_alloc; /* set if we need to force a chunk |
748 | this space */ | 748 | alloc for this space */ |
749 | 749 | ||
750 | struct list_head list; | 750 | struct list_head list; |
751 | 751 | ||