Commit 1f5a7ff9 authored by David Sterba's avatar David Sterba Committed by Josef Bacik

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: default avatarDavid Sterba <dsterba@suse.cz>
Signed-off-by: default avatarJosef Bacik <jbacik@fb.com>
parent e25a8122
...@@ -53,8 +53,8 @@ struct fs_path { ...@@ -53,8 +53,8 @@ struct fs_path {
char *end; char *end;
char *buf; char *buf;
int buf_len; unsigned short buf_len:15;
unsigned int reversed:1; unsigned short reversed:1;
char inline_buf[]; char inline_buf[];
}; };
char pad[PAGE_SIZE]; char pad[PAGE_SIZE];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment