aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/gfs2_ondisk.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/gfs2_ondisk.h')
-rw-r--r--include/linux/gfs2_ondisk.h12
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
408struct 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);
492extern void gfs2_dinode_out(const struct gfs2_dinode_host *di, void *buf); 502extern void gfs2_dinode_out(const struct gfs2_dinode_host *di, void *buf);
493extern void gfs2_ea_header_in(struct gfs2_ea_header *ea, const void *buf); 503extern void gfs2_ea_header_in(struct gfs2_ea_header *ea, const void *buf);
494extern void gfs2_ea_header_out(const struct gfs2_ea_header *ea, void *buf); 504extern void gfs2_ea_header_out(const struct gfs2_ea_header *ea, void *buf);
495extern void gfs2_log_header_in(struct gfs2_log_header *lh, const void *buf); 505extern void gfs2_log_header_in(struct gfs2_log_header_host *lh, const void *buf);
496extern void gfs2_inum_range_in(struct gfs2_inum_range_host *ir, const void *buf); 506extern void gfs2_inum_range_in(struct gfs2_inum_range_host *ir, const void *buf);
497extern void gfs2_inum_range_out(const struct gfs2_inum_range_host *ir, void *buf); 507extern void gfs2_inum_range_out(const struct gfs2_inum_range_host *ir, void *buf);
498extern void gfs2_statfs_change_in(struct gfs2_statfs_change *sc, const void *buf); 508extern void gfs2_statfs_change_in(struct gfs2_statfs_change *sc, const void *buf);