Skip to content

Commit

Permalink
hpfs: annotate struct dnode
Browse files Browse the repository at this point in the history
little-endians...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed May 30, 2012
1 parent 52576da commit 39413c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fs/hpfs/hpfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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? */
Expand All @@ -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 */
};

Expand Down

0 comments on commit 39413c6

Please sign in to comment.