HPFS: Fix some unaligned accesses
Fix some unaligned accesses Signed-off-by: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
0b69760be6
commit
d0969d1949
@@ -546,7 +546,8 @@ struct extended_attribute
|
||||
where real value starts */
|
||||
#endif
|
||||
u8 namelen; /* length of name, bytes */
|
||||
u16 valuelen; /* length of value, bytes */
|
||||
u8 valuelen_lo; /* length of value, bytes */
|
||||
u8 valuelen_hi; /* length of value, bytes */
|
||||
u8 name[0];
|
||||
/*
|
||||
u8 name[namelen]; ascii attrib name
|
||||
|
Reference in New Issue
Block a user