btrfs: use unsigned type for single bit bitfield

Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
David Sterba 2011-05-12 18:13:12 +02:00
Родитель 7a36ddec10
Коммит 4ea028859b
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -740,12 +740,12 @@ struct btrfs_space_info {
*/ */
unsigned long reservation_progress; 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 */ 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 unsigned int force_alloc; /* set if we need to force a chunk
this space */ alloc for this space */
struct list_head list; struct list_head list;