Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
39413c60
Commit
39413c60
authored
Apr 17, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hpfs: annotate struct dnode
little-endians... Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
52576da3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
fs/hpfs/hpfs.h
fs/hpfs/hpfs.h
+4
-4
No files found.
fs/hpfs/hpfs.h
View file @
39413c60
...
@@ -278,8 +278,8 @@ struct code_page_data
...
@@ -278,8 +278,8 @@ struct code_page_data
#define DNODE_MAGIC 0x77e40aae
#define DNODE_MAGIC 0x77e40aae
struct
dnode
{
struct
dnode
{
u
32
magic
;
/* 77e4 0aae */
__le
32
magic
;
/* 77e4 0aae */
u
32
first_free
;
/* offset from start of dnode to
__le
32
first_free
;
/* offset from start of dnode to
first free dir entry */
first free dir entry */
#ifdef __LITTLE_ENDIAN
#ifdef __LITTLE_ENDIAN
u8
root_dnode
:
1
;
/* Is it root dnode? */
u8
root_dnode
:
1
;
/* Is it root dnode? */
...
@@ -293,9 +293,9 @@ struct dnode {
...
@@ -293,9 +293,9 @@ struct dnode {
u8
root_dnode
:
1
;
/* Is it root dnode? */
u8
root_dnode
:
1
;
/* Is it root dnode? */
#endif
#endif
u8
increment_me2
[
3
];
u8
increment_me2
[
3
];
secno
up
;
/* (root dnode) directory's fnode
__le32
up
;
/* (root dnode) directory's fnode
(nonroot) parent dnode */
(nonroot) parent dnode */
dnode_secno
self
;
/* pointer to this dnode */
__le32
self
;
/* pointer to this dnode */
u8
dirent
[
2028
];
/* one or more dirents */
u8
dirent
[
2028
];
/* one or more dirents */
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment