diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-04-17 16:09:25 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-29 23:28:38 -0400 |
commit | 2b9f1cc29ba0e56089fe04501ec6d3b49eee3c3e (patch) | |
tree | d74ab6f584dbd8999921de6e223ed47980bbbf07 | |
parent | ddc19e6e04c1131a48f5b9a25aa433bbd8430cdd (diff) |
hpfs: annotate struct fnode
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | fs/hpfs/hpfs.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/fs/hpfs/hpfs.h b/fs/hpfs/hpfs.h index 49d9315492d8..b66c8b21dcec 100644 --- a/fs/hpfs/hpfs.h +++ b/fs/hpfs/hpfs.h | |||
@@ -435,18 +435,18 @@ static inline bool bp_fnode_parent(struct bplus_header *bp) | |||
435 | enum {FNODE_anode = cpu_to_le16(2), FNODE_dir = cpu_to_le16(256)}; | 435 | enum {FNODE_anode = cpu_to_le16(2), FNODE_dir = cpu_to_le16(256)}; |
436 | struct fnode | 436 | struct fnode |
437 | { | 437 | { |
438 | u32 magic; /* f7e4 0aae */ | 438 | __le32 magic; /* f7e4 0aae */ |
439 | u32 zero1[2]; /* read history */ | 439 | __le32 zero1[2]; /* read history */ |
440 | u8 len, name[15]; /* true length, truncated name */ | 440 | u8 len, name[15]; /* true length, truncated name */ |
441 | fnode_secno up; /* pointer to file's directory fnode */ | 441 | __le32 up; /* pointer to file's directory fnode */ |
442 | secno acl_size_l; | 442 | __le32 acl_size_l; |
443 | secno acl_secno; | 443 | __le32 acl_secno; |
444 | u16 acl_size_s; | 444 | __le16 acl_size_s; |
445 | u8 acl_anode; | 445 | u8 acl_anode; |
446 | u8 zero2; /* history bit count */ | 446 | u8 zero2; /* history bit count */ |
447 | u32 ea_size_l; /* length of disk-resident ea's */ | 447 | __le32 ea_size_l; /* length of disk-resident ea's */ |
448 | secno ea_secno; /* first sector of disk-resident ea's*/ | 448 | __le32 ea_secno; /* first sector of disk-resident ea's*/ |
449 | u16 ea_size_s; /* length of fnode-resident ea's */ | 449 | __le16 ea_size_s; /* length of fnode-resident ea's */ |
450 | 450 | ||
451 | __le16 flags; /* bit 1 set -> ea_secno is an anode */ | 451 | __le16 flags; /* bit 1 set -> ea_secno is an anode */ |
452 | /* bit 8 set -> directory. first & only extent | 452 | /* bit 8 set -> directory. first & only extent |
@@ -457,15 +457,15 @@ struct fnode | |||
457 | struct bplus_internal_node internal[12]; | 457 | struct bplus_internal_node internal[12]; |
458 | } u; | 458 | } u; |
459 | 459 | ||
460 | u32 file_size; /* file length, bytes */ | 460 | __le32 file_size; /* file length, bytes */ |
461 | u32 n_needea; /* number of EA's with NEEDEA set */ | 461 | __le32 n_needea; /* number of EA's with NEEDEA set */ |
462 | u8 user_id[16]; /* unused */ | 462 | u8 user_id[16]; /* unused */ |
463 | u16 ea_offs; /* offset from start of fnode | 463 | __le16 ea_offs; /* offset from start of fnode |
464 | to first fnode-resident ea */ | 464 | to first fnode-resident ea */ |
465 | u8 dasd_limit_treshhold; | 465 | u8 dasd_limit_treshhold; |
466 | u8 dasd_limit_delta; | 466 | u8 dasd_limit_delta; |
467 | u32 dasd_limit; | 467 | __le32 dasd_limit; |
468 | u32 dasd_usage; | 468 | __le32 dasd_usage; |
469 | u8 ea[316]; /* zero or more EA's, packed together | 469 | u8 ea[316]; /* zero or more EA's, packed together |
470 | with no alignment padding. | 470 | with no alignment padding. |
471 | (Do not use this name, get here | 471 | (Do not use this name, get here |