From: David Sterba Date: Mon, 3 Feb 2014 18:23:47 +0000 (+0100) Subject: btrfs: send: squeeze bitfilelds in fs_path X-Git-Tag: v3.15-rc1~96^2~95 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1f5a7ff999523e9996befbe03e196eb73370fe36;p=karo-tx-linux.git 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 Signed-off-by: Josef Bacik --- 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];