summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2015-11-27 16:31:38 +0100
committerDavid Sterba <dsterba@suse.com>2016-01-07 15:01:16 +0100
commitdccabfad20880bc6c8be21b538df4293506b99f8 (patch)
tree92d0b950407d3dd3915b3635247048a4b9b17bd2 /fs/btrfs/ctree.h
parente4058b54d1e442b6b3eca949f0d63d49ba2b020d (diff)
downloadlinux-dccabfad20880bc6c8be21b538df4293506b99f8.tar.gz
linux-dccabfad20880bc6c8be21b538df4293506b99f8.tar.bz2
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/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h2
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;