summaryrefslogtreecommitdiff
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2019-09-10 15:04:08 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2019-09-10 16:29:48 +0200
commit1f4e9d03d1fbff428a0e864d5456e0a2dace6f81 (patch)
tree926d58c6bdd882063749d62068ceb68f3b1db0da /fs/fuse/fuse_i.h
parentd5b4854357f47899ea5b0336b41b04e81b62b11d (diff)
fuse: rearrange and resize fuse_args fields
This makes the structure better packed. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r--fs/fuse/fuse_i.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index 835c0671320c..a89362ee46d9 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -287,12 +287,12 @@ struct fuse_page_desc {
};
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];
};