From: Bernd Schubert Date: Sat, 28 Dec 2024 12:43:58 +0000 (+0100) Subject: Use single bit for struct fuse_file_info::no_interrupt X-Git-Tag: fuse-3.17.1-rc0~37^2~6 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=15d924c450eb8346607e5fba24d3b60e842e365b;p=qemu-gpiodev%2Flibfuse.git 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 --- 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.