summaryrefslogtreecommitdiff
path: root/ctree.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-08-28 17:16:51 +0200
committerDavid Sterba <dsterba@suse.com>2017-09-08 16:15:05 +0200
commitb423d1822928bcb074e1a0e265c3a1ccbd5a2f94 (patch)
tree3e3408d37ee1896c7b5f494059cb6c956df8439d /ctree.h
parent6db6afd9937e37d61a14f9eeb1db5e37cefed1a6 (diff)
btrfs-progs: switch fs_info::system_allocs to bit
The value really is 0 or 1, the test in btrfs_reserve_extent can be simplified. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'ctree.h')
-rw-r--r--ctree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctree.h b/ctree.h
index c95157dc..4ad34f60 100644
--- a/ctree.h
+++ b/ctree.h
@@ -1126,8 +1126,8 @@ struct btrfs_fs_info {
struct btrfs_fs_devices *fs_devices;
struct list_head space_info;
- int system_allocs;
+ unsigned int system_allocs:1;
unsigned int readonly:1;
unsigned int on_restoring:1;
unsigned int is_chunk_recover:1;