[Virtio-fs] [PATCH 1/4] virtiofsd: Fix number of padding bits in fuse_file_info
Vivek Goyal
vgoyal at redhat.com
Tue Aug 13 19:29:41 UTC 2019
Currently we have 27 padding bits while there are 6 bit fields. I suspect
this is wrong. We probably are trying to aling to 32 bits and hence padding
bits should be 26 instead.
Signed-off-by: Vivek Goyal <vgoyal at redhat.com>
---
contrib/virtiofsd/fuse_common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/virtiofsd/fuse_common.h b/contrib/virtiofsd/fuse_common.h
index 6419f66470..4d95f6f28b 100644
--- a/contrib/virtiofsd/fuse_common.h
+++ b/contrib/virtiofsd/fuse_common.h
@@ -65,7 +65,7 @@ struct fuse_file_info {
unsigned int flock_release : 1;
/** Padding. Do not use*/
- unsigned int padding : 27;
+ unsigned int padding : 26;
/** File handle. May be filled in by filesystem in open().
Available in all other file operations */
--
2.17.2
More information about the Virtio-fs
mailing list