diff options
author | Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz> | 2011-05-08 18:44:32 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-09 16:04:24 (GMT) |
commit | d0969d1949cc67a0f100f30ad69ec7ec1eca70d2 (patch) | |
tree | 70b04ebba74aff1c4df3e8cc213a7be721550fe8 /fs/hpfs/hpfs.h | |
parent | 0b69760be6968c528869d4aec95ecf64dbf3e8bd (diff) | |
download | linux-fsl-qoriq-d0969d1949cc67a0f100f30ad69ec7ec1eca70d2.tar.xz |
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>
Diffstat (limited to 'fs/hpfs/hpfs.h')
-rw-r--r-- | fs/hpfs/hpfs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/hpfs/hpfs.h b/fs/hpfs/hpfs.h index 91a6223..8b0650a 100644 --- a/fs/hpfs/hpfs.h +++ b/fs/hpfs/hpfs.h @@ -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 |