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: v5.15~14124^2~26^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dccabfad20880bc6c8be21b538df4293506b99f8;p=platform%2Fkernel%2Flinux-starfive.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 a1cf4c8..e5f9b96 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;