summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2011-05-12 18:13:12 +0200
committerDavid Sterba <dsterba@suse.cz>2011-05-12 18:14:53 +0200
commit4ea028859bbdad34b84c9951fbb832ae10c6a96c (patch)
tree2fef94fa86c782589f486099c98b97bb665c869e
parent7a36ddec1003a4e84e79f28ee714a142ed6bc529 (diff)
downloadop-kernel-dev-4ea028859bbdad34b84c9951fbb832ae10c6a96c.zip
op-kernel-dev-4ea028859bbdad34b84c9951fbb832ae10c6a96c.tar.gz
btrfs: use unsigned type for single bit bitfield
Signed-off-by: David Sterba <dsterba@suse.cz>
-rw-r--r--fs/btrfs/ctree.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index e37d441..343304d 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -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;
OpenPOWER on IntegriCloud