aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Schubert <bernd@bsbernd.com>2024-12-28 13:43:58 +0100
committerBernd Schubert <bernd@bsbernd.com>2024-12-30 23:04:11 +0100
commit15d924c450eb8346607e5fba24d3b60e842e365b (patch)
tree36e1c29380ee1e6191198d804046302703b38674
parente7482fbeaf132988eb024742adb6c2f6d4c5b42a (diff)
downloadlibfuse-15d924c450eb8346607e5fba24d3b60e842e365b.tar.gz
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 <bernd@bsbernd.com>
-rw-r--r--include/fuse_common.h5
1 files changed, 4 insertions, 1 deletions
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.