summaryrefslogtreecommitdiffstats
path: root/fs/hpfs/hpfs.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-04-17 21:32:22 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-05-30 05:28:37 +0200
commit39413c6046de282a92739110cfafb8f1e862680d (patch)
tree2ee15ae32a7ed699fd1a1fc00e47c0fd214933ab /fs/hpfs/hpfs.h
parenthpfs: bitmaps are little-endian (diff)
downloadlinux-39413c6046de282a92739110cfafb8f1e862680d.tar.xz
linux-39413c6046de282a92739110cfafb8f1e862680d.zip
hpfs: annotate struct dnode
little-endians... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hpfs/hpfs.h')
-rw-r--r--fs/hpfs/hpfs.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/hpfs/hpfs.h b/fs/hpfs/hpfs.h
index 37cc4483fbd1..b4e035ce65db 100644
--- a/fs/hpfs/hpfs.h
+++ b/fs/hpfs/hpfs.h
@@ -278,8 +278,8 @@ struct code_page_data
#define DNODE_MAGIC 0x77e40aae
struct dnode {
- u32 magic; /* 77e4 0aae */
- u32 first_free; /* offset from start of dnode to
+ __le32 magic; /* 77e4 0aae */
+ __le32 first_free; /* offset from start of dnode to
first free dir entry */
#ifdef __LITTLE_ENDIAN
u8 root_dnode: 1; /* Is it root dnode? */
@@ -293,9 +293,9 @@ struct dnode {
u8 root_dnode: 1; /* Is it root dnode? */
#endif
u8 increment_me2[3];
- secno up; /* (root dnode) directory's fnode
+ __le32 up; /* (root dnode) directory's fnode
(nonroot) parent dnode */
- dnode_secno self; /* pointer to this dnode */
+ __le32 self; /* pointer to this dnode */
u8 dirent[2028]; /* one or more dirents */
};