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
2b9f1cc2
Commit
2b9f1cc2
authored
Apr 17, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hpfs: annotate struct fnode
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
ddc19e6e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
fs/hpfs/hpfs.h
fs/hpfs/hpfs.h
+14
-14
No files found.
fs/hpfs/hpfs.h
View file @
2b9f1cc2
...
...
@@ -435,18 +435,18 @@ static inline bool bp_fnode_parent(struct bplus_header *bp)
enum
{
FNODE_anode
=
cpu_to_le16
(
2
),
FNODE_dir
=
cpu_to_le16
(
256
)};
struct
fnode
{
u
32
magic
;
/* f7e4 0aae */
u32
zero1
[
2
];
/* read history */
__le
32
magic
;
/* f7e4 0aae */
__le32
zero1
[
2
];
/* read history */
u8
len
,
name
[
15
];
/* true length, truncated name */
fnode_secno
up
;
/* pointer to file's directory fnode */
secno
acl_size_l
;
secno
acl_secno
;
u
16
acl_size_s
;
__le32
up
;
/* pointer to file's directory fnode */
__le32
acl_size_l
;
__le32
acl_secno
;
__le
16
acl_size_s
;
u8
acl_anode
;
u8
zero2
;
/* history bit count */
u
32
ea_size_l
;
/* length of disk-resident ea's */
secno
ea_secno
;
/* first sector of disk-resident ea's*/
u
16
ea_size_s
;
/* length of fnode-resident ea's */
__le
32
ea_size_l
;
/* length of disk-resident ea's */
__le32
ea_secno
;
/* first sector of disk-resident ea's*/
__le
16
ea_size_s
;
/* length of fnode-resident ea's */
__le16
flags
;
/* bit 1 set -> ea_secno is an anode */
/* bit 8 set -> directory. first & only extent
...
...
@@ -457,15 +457,15 @@ struct fnode
struct
bplus_internal_node
internal
[
12
];
}
u
;
u
32
file_size
;
/* file length, bytes */
u32
n_needea
;
/* number of EA's with NEEDEA set */
__le
32
file_size
;
/* file length, bytes */
__le32
n_needea
;
/* number of EA's with NEEDEA set */
u8
user_id
[
16
];
/* unused */
u16
ea_offs
;
/* offset from start of fnode
__le16
ea_offs
;
/* offset from start of fnode
to first fnode-resident ea */
u8
dasd_limit_treshhold
;
u8
dasd_limit_delta
;
u
32
dasd_limit
;
u
32
dasd_usage
;
__le
32
dasd_limit
;
__le
32
dasd_usage
;
u8
ea
[
316
];
/* zero or more EA's, packed together
with no alignment padding.
(Do not use this name, get here
...
...
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