diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-04-17 20:20:49 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-30 03:28:39 (GMT) |
commit | 46287aa652fa8ea1edac41817ddc63332495ffc3 (patch) | |
tree | 9cb8043c555a66eae2fac22a3eeb7cdef78f3778 /fs/hpfs/hpfs.h | |
parent | 6ce2bbba5266c1dd5c27dd8af1887ed8ca564919 (diff) | |
download | linux-fsl-qoriq-46287aa652fa8ea1edac41817ddc63332495ffc3.tar.xz |
hpfs: annotate struct hpfs_dirent
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hpfs/hpfs.h')
-rw-r--r-- | fs/hpfs/hpfs.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/fs/hpfs/hpfs.h b/fs/hpfs/hpfs.h index f0dc109..051ff45 100644 --- a/fs/hpfs/hpfs.h +++ b/fs/hpfs/hpfs.h @@ -300,7 +300,7 @@ struct dnode { }; struct hpfs_dirent { - u16 length; /* offset to next dirent */ + __le16 length; /* offset to next dirent */ #ifdef __LITTLE_ENDIAN u8 first: 1; /* set on phony ^A^A (".") entry */ @@ -346,12 +346,12 @@ struct hpfs_dirent { u8 read_only: 1; /* dos attrib */ #endif - fnode_secno fnode; /* fnode giving allocation info */ - time32_t write_date; /* mtime */ - u32 file_size; /* file length, bytes */ - time32_t read_date; /* atime */ - time32_t creation_date; /* ctime */ - u32 ea_size; /* total EA length, bytes */ + __le32 fnode; /* fnode giving allocation info */ + __le32 write_date; /* mtime */ + __le32 file_size; /* file length, bytes */ + __le32 read_date; /* atime */ + __le32 creation_date; /* ctime */ + __le32 ea_size; /* total EA length, bytes */ u8 no_of_acls; /* number of ACL's (low 3 bits) */ u8 ix; /* code page index (of filename), see struct code_page_data */ |