mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 17:59:32 +00:00
btrfs: send: squeeze bitfilelds in fs_path
We know that buf_len is at most PATH_MAX, 4k, and can merge it with the reversed member. This saves 3 bytes in favor of inline_buf. Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Josef Bacik <jbacik@fb.com>
This commit is contained in:
parent
e25a812206
commit
1f5a7ff999
1 changed files with 2 additions and 2 deletions
|
@ -53,8 +53,8 @@ struct fs_path {
|
|||
char *end;
|
||||
|
||||
char *buf;
|
||||
int buf_len;
|
||||
unsigned int reversed:1;
|
||||
unsigned short buf_len:15;
|
||||
unsigned short reversed:1;
|
||||
char inline_buf[];
|
||||
};
|
||||
char pad[PAGE_SIZE];
|
||||
|
|
Loading…
Reference in a new issue