]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
btrfs: use unsigned type for single bit bitfield
authorDavid Sterba <dsterba@suse.cz>
Thu, 12 May 2011 16:13:12 +0000 (18:13 +0200)
committerDavid Sterba <dsterba@suse.cz>
Thu, 12 May 2011 16:14:53 +0000 (18:14 +0200)
Signed-off-by: David Sterba <dsterba@suse.cz>
fs/btrfs/ctree.h

index e37d441617d277f41fcf5572dc92301c78c7ff74..343304dec6d10c399b34c633b5b6d7c55acb3c26 100644 (file)
@@ -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;