Revision e8a87169962f0eece1cbf0aaa69e685142a82e1e authored by Marius Strobl on 31 January 2010, 22:16:27 UTC, committed by Marius Strobl on 31 January 2010, 22:16:27 UTC
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
Approved by:	re (kib)
1 parent eac929d
History
File Mode Size
Makefile -rw-r--r-- 165 bytes
add.c -rw-r--r-- 5.6 KB
boot.c -rw-r--r-- 6.7 KB
create.c -rw-r--r-- 6.6 KB
destroy.c -rw-r--r-- 2.6 KB
gpt.8 -rw-r--r-- 10.2 KB
gpt.c -rw-r--r-- 17.2 KB
gpt.h -rw-r--r-- 2.9 KB
label.c -rw-r--r-- 5.7 KB
map.c -rw-r--r-- 4.8 KB
map.h -rw-r--r-- 2.0 KB
migrate.c -rw-r--r-- 9.8 KB
recover.c -rw-r--r-- 4.6 KB
remove.c -rw-r--r-- 5.0 KB
show.c -rw-r--r-- 5.2 KB

back to top