From: David Sterba Date: Fri, 27 Nov 2015 15:31:38 +0000 (+0100) Subject: btrfs: use smaller type for btrfs_path reada X-Git-Tag: v4.13~3803^2~2^2~7 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=dccabfad20880bc6c8be21b538df4293506b99f8;p=mirror_ubuntu-bionic-kernel.git 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 --- 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;