This makes the structure better packed.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
};
struct fuse_args {
- uint32_t opcode;
uint64_t nodeid;
- unsigned int in_numargs;
+ uint32_t opcode;
+ unsigned short in_numargs;
+ unsigned short out_numargs;
+ bool out_argvar:1;
struct fuse_in_arg in_args[3];
- unsigned int out_argvar:1;
- unsigned int out_numargs;
struct fuse_arg out_args[2];
};
/* This is really two different operations rolled into one */
args.out_numargs = 1;
if (size) {
- args.out_argvar = 1;
+ args.out_argvar = true;
args.out_args[0].size = size;
args.out_args[0].value = value;
} else {
/* This is really two different operations rolled into one */
args.out_numargs = 1;
if (size) {
- args.out_argvar = 1;
+ args.out_argvar = true;
args.out_args[0].size = size;
args.out_args[0].value = list;
} else {