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>
This commit is contained in:
David Sterba 2015-11-27 16:31:38 +01:00
parent e4058b54d1
commit dccabfad20
1 changed files with 1 additions and 1 deletions

View File

@ -596,7 +596,7 @@ struct btrfs_path {
int slots[BTRFS_MAX_LEVEL]; int slots[BTRFS_MAX_LEVEL];
/* if there is real range locking, this locks field will change */ /* if there is real range locking, this locks field will change */
int locks[BTRFS_MAX_LEVEL]; int locks[BTRFS_MAX_LEVEL];
int reada; u8 reada;
/* keep some upper locks as we walk down */ /* keep some upper locks as we walk down */
int lowest_level; int lowest_level;