]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
On LP64 struct ifid is 64-bit aligned while struct fid is 32-bit aligned
authormarius <marius@FreeBSD.org>
Sat, 23 Jan 2010 22:38:01 +0000 (22:38 +0000)
committermarius <marius@FreeBSD.org>
Sat, 23 Jan 2010 22:38:01 +0000 (22:38 +0000)
commit6d095a5fb75b8d5cc84a200521db2b498a80b0ea
treef1c9bcea08d81a63329a59f26e860f0602a73135
parentaa7c04ce461184acdfe00f51c04e5e1834dd6601
On LP64 struct ifid is 64-bit aligned while struct fid is 32-bit aligned
so on architectures with strict alignment requirements we can't just simply
cast the latter to the former but need to copy it bytewise instead.

PR: 143010
MFC after: 3 days
sys/fs/cd9660/cd9660_vfsops.c
sys/fs/cd9660/cd9660_vnops.c