diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-10-13 21:47:13 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-11-30 10:33:14 -0500 |
commit | 551676226163379c217e8ec54bd287eab9b8521e (patch) | |
tree | 84abfa1a29c23890124f6dc66790af49917940b4 /include/linux/gfs2_ondisk.h | |
parent | e697264709c86040271cdd7abee781d7adbb7f91 (diff) |
[GFS2] split and annotate gfs2_log_head
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'include/linux/gfs2_ondisk.h')
-rw-r--r-- | include/linux/gfs2_ondisk.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/linux/gfs2_ondisk.h b/include/linux/gfs2_ondisk.h index c035587d066e..fb69a64c70cd 100644 --- a/include/linux/gfs2_ondisk.h +++ b/include/linux/gfs2_ondisk.h | |||
@@ -405,6 +405,16 @@ struct gfs2_log_header { | |||
405 | __be32 lh_hash; | 405 | __be32 lh_hash; |
406 | }; | 406 | }; |
407 | 407 | ||
408 | struct gfs2_log_header_host { | ||
409 | struct gfs2_meta_header lh_header; | ||
410 | |||
411 | __u64 lh_sequence; /* Sequence number of this transaction */ | ||
412 | __u32 lh_flags; /* GFS2_LOG_HEAD_... */ | ||
413 | __u32 lh_tail; /* Block number of log tail */ | ||
414 | __u32 lh_blkno; | ||
415 | __u32 lh_hash; | ||
416 | }; | ||
417 | |||
408 | /* | 418 | /* |
409 | * Log type descriptor | 419 | * Log type descriptor |
410 | */ | 420 | */ |
@@ -492,7 +502,7 @@ extern void gfs2_dinode_in(struct gfs2_dinode_host *di, const void *buf); | |||
492 | extern void gfs2_dinode_out(const struct gfs2_dinode_host *di, void *buf); | 502 | extern void gfs2_dinode_out(const struct gfs2_dinode_host *di, void *buf); |
493 | extern void gfs2_ea_header_in(struct gfs2_ea_header *ea, const void *buf); | 503 | extern void gfs2_ea_header_in(struct gfs2_ea_header *ea, const void *buf); |
494 | extern void gfs2_ea_header_out(const struct gfs2_ea_header *ea, void *buf); | 504 | extern void gfs2_ea_header_out(const struct gfs2_ea_header *ea, void *buf); |
495 | extern void gfs2_log_header_in(struct gfs2_log_header *lh, const void *buf); | 505 | extern void gfs2_log_header_in(struct gfs2_log_header_host *lh, const void *buf); |
496 | extern void gfs2_inum_range_in(struct gfs2_inum_range_host *ir, const void *buf); | 506 | extern void gfs2_inum_range_in(struct gfs2_inum_range_host *ir, const void *buf); |
497 | extern void gfs2_inum_range_out(const struct gfs2_inum_range_host *ir, void *buf); | 507 | extern void gfs2_inum_range_out(const struct gfs2_inum_range_host *ir, void *buf); |
498 | extern void gfs2_statfs_change_in(struct gfs2_statfs_change *sc, const void *buf); | 508 | extern void gfs2_statfs_change_in(struct gfs2_statfs_change *sc, const void *buf); |