diff options
author | David Sterba <dsterba@suse.cz> | 2014-02-03 19:23:47 +0100 |
---|---|---|
committer | Josef Bacik <jbacik@fb.com> | 2014-03-10 15:15:46 -0400 |
commit | 1f5a7ff999523e9996befbe03e196eb73370fe36 (patch) | |
tree | 8986afa0392a4976497c90c60c4e8319a11a2ab2 /fs | |
parent | e25a8122061edcde6175cbcfd2e21367ad017212 (diff) |
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/btrfs/send.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c index 5b9b82b32cde..4405aae05281 100644 --- a/fs/btrfs/send.c +++ b/fs/btrfs/send.c @@ -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]; |