mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-04 13:21:45 +00:00
btrfs: use smaller type for btrfs_path lowest_level
The level is 0..7, we can use smaller type. The size of btrfs_path is now 136 bytes from 144, which is +2 objects that fit into a 4k slab. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
dccabfad20
commit
7853f15b2a
1 changed files with 1 additions and 1 deletions
|
@ -598,7 +598,7 @@ struct btrfs_path {
|
||||||
int locks[BTRFS_MAX_LEVEL];
|
int locks[BTRFS_MAX_LEVEL];
|
||||||
u8 reada;
|
u8 reada;
|
||||||
/* keep some upper locks as we walk down */
|
/* keep some upper locks as we walk down */
|
||||||
int lowest_level;
|
u8 lowest_level;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* set by btrfs_split_item, tells search_slot to keep all locks
|
* set by btrfs_split_item, tells search_slot to keep all locks
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue