diff options
author | David Sterba <dsterba@suse.com> | 2015-11-27 10:31:38 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-01-07 09:01:16 -0500 |
commit | dccabfad20880bc6c8be21b538df4293506b99f8 (patch) | |
tree | 92d0b950407d3dd3915b3635247048a4b9b17bd2 /fs/btrfs/ctree.h | |
parent | e4058b54d1e442b6b3eca949f0d63d49ba2b020d (diff) |
btrfs: use smaller type for btrfs_path reada
The possible values for reada are all positive and bounded, we can later
save some bytes by storing it in u8.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index a1cf4c813578..e5f9b96fc86f 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -596,7 +596,7 @@ struct btrfs_path { | |||
596 | int slots[BTRFS_MAX_LEVEL]; | 596 | int slots[BTRFS_MAX_LEVEL]; |
597 | /* if there is real range locking, this locks field will change */ | 597 | /* if there is real range locking, this locks field will change */ |
598 | int locks[BTRFS_MAX_LEVEL]; | 598 | int locks[BTRFS_MAX_LEVEL]; |
599 | int reada; | 599 | u8 reada; |
600 | /* keep some upper locks as we walk down */ | 600 | /* keep some upper locks as we walk down */ |
601 | int lowest_level; | 601 | int lowest_level; |
602 | 602 | ||