mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 10:04:00 +08:00
Aligned internal log buffers on CPUs which require them
The generic buffer structure should respect the alignment of included log structures. This is required by some CPUs (such as Sparc).
This commit is contained in:
parent
a0bc659c7f
commit
02747ea647
@ -79,6 +79,7 @@ struct BUFFER {
|
|||||||
unsigned int headsz;
|
unsigned int headsz;
|
||||||
BOOL safe;
|
BOOL safe;
|
||||||
union {
|
union {
|
||||||
|
u64 alignment;
|
||||||
RESTART_PAGE_HEADER restart;
|
RESTART_PAGE_HEADER restart;
|
||||||
RECORD_PAGE_HEADER record;
|
RECORD_PAGE_HEADER record;
|
||||||
char data[1];
|
char data[1];
|
||||||
|
Loading…
Reference in New Issue
Block a user