Skip to content

Commit

Permalink
btrfs: use unsigned type for single bit bitfield
Browse files Browse the repository at this point in the history
Signed-off-by: David Sterba <dsterba@suse.cz>
  • Loading branch information
David Sterba committed May 12, 2011
1 parent 7a36dde commit 4ea0288
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fs/btrfs/ctree.h
Original file line number Diff line number Diff line change
Expand Up @@ -740,12 +740,12 @@ struct btrfs_space_info {
*/
unsigned long reservation_progress;

int full:1; /* indicates that we cannot allocate any more
unsigned int full:1; /* indicates that we cannot allocate any more
chunks for this space */
int chunk_alloc:1; /* set if we are allocating a chunk */
unsigned int chunk_alloc:1; /* set if we are allocating a chunk */

int force_alloc; /* set if we need to force a chunk alloc for
this space */
unsigned int force_alloc; /* set if we need to force a chunk
alloc for this space */

struct list_head list;

Expand Down

0 comments on commit 4ea0288

Please sign in to comment.