diff options
author | David Sterba <dsterba@suse.com> | 2015-11-27 16:31:38 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-01-07 15:01:16 +0100 |
commit | dccabfad20880bc6c8be21b538df4293506b99f8 (patch) | |
tree | 92d0b950407d3dd3915b3635247048a4b9b17bd2 /fs | |
parent | btrfs: cleanup, use enum values for btrfs_path reada (diff) | |
download | linux-dccabfad20880bc6c8be21b538df4293506b99f8.tar.xz linux-dccabfad20880bc6c8be21b538df4293506b99f8.zip |
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')
-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 { int slots[BTRFS_MAX_LEVEL]; /* if there is real range locking, this locks field will change */ int locks[BTRFS_MAX_LEVEL]; - int reada; + u8 reada; /* keep some upper locks as we walk down */ int lowest_level; |