search for: nfs_fh_wire

Displaying 1 result from an estimated 1 matches for "nfs_fh_wire".

2020 Mar 28
0
[klibc:master] nfsmount: Fix alignment of packet structures
...sr/kinit/nfsmount/mount.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/kinit/nfsmount/mount.c b/usr/kinit/nfsmount/mount.c index e0687a6f..ae48354b 100644 --- a/usr/kinit/nfsmount/mount.c +++ b/usr/kinit/nfsmount/mount.c @@ -34,13 +34,13 @@ struct mount_call { struct nfs_fh_wire { uint32_t size; char data[NFS_MAXFHSIZE_WIRE]; -} __attribute__ ((packed)); +} __attribute__ ((packed, aligned(4))); struct mount_reply { struct rpc_reply reply; uint32_t status; struct nfs_fh_wire fh; -} __attribute__ ((packed)); +} __attribute__ ((packed, aligned(4))); #define MN...