From 15d924c450eb8346607e5fba24d3b60e842e365b Mon Sep 17 00:00:00 2001 From: Bernd Schubert Date: Sat, 28 Dec 2024 13:43:58 +0100 Subject: [PATCH] Use single bit for struct fuse_file_info::no_interrupt Now that we know the exact size of the integer we can use a single bit and reserve the other bits. Signed-off-by: Bernd Schubert --- include/fuse_common.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/fuse_common.h b/include/fuse_common.h index d9b7944..ee3c4e6 100644 --- a/include/fuse_common.h +++ b/include/fuse_common.h @@ -660,7 +660,10 @@ struct fuse_conn_info { * 2) Return ENOSYS for the reply of FUSE_INTERRUPT request to * inform the kernel not to send the FUSE_INTERRUPT request. */ - uint32_t no_interrupt; + uint32_t no_interrupt : 1; + + /* reserved bits for future use */ + uint32_t padding : 31; /** * For future use. -- 2.30.2