diff options
Diffstat (limited to 'fs/gfs2/log.c')
-rw-r--r-- | fs/gfs2/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/log.c b/fs/gfs2/log.c index b103d9acf40d..ea69376c00d8 100644 --- a/fs/gfs2/log.c +++ b/fs/gfs2/log.c | |||
@@ -377,8 +377,8 @@ static void log_write_header(struct gfs2_sbd *sdp, uint32_t flags, int pull) | |||
377 | lh = (struct gfs2_log_header *)bh->b_data; | 377 | lh = (struct gfs2_log_header *)bh->b_data; |
378 | memset(lh, 0, sizeof(struct gfs2_log_header)); | 378 | memset(lh, 0, sizeof(struct gfs2_log_header)); |
379 | lh->lh_header.mh_magic = cpu_to_be32(GFS2_MAGIC); | 379 | lh->lh_header.mh_magic = cpu_to_be32(GFS2_MAGIC); |
380 | lh->lh_header.mh_type = cpu_to_be16(GFS2_METATYPE_LH); | 380 | lh->lh_header.mh_type = cpu_to_be32(GFS2_METATYPE_LH); |
381 | lh->lh_header.mh_format = cpu_to_be16(GFS2_FORMAT_LH); | 381 | lh->lh_header.mh_format = cpu_to_be32(GFS2_FORMAT_LH); |
382 | lh->lh_sequence = be64_to_cpu(sdp->sd_log_sequence++); | 382 | lh->lh_sequence = be64_to_cpu(sdp->sd_log_sequence++); |
383 | lh->lh_flags = be32_to_cpu(flags); | 383 | lh->lh_flags = be32_to_cpu(flags); |
384 | lh->lh_tail = be32_to_cpu(tail); | 384 | lh->lh_tail = be32_to_cpu(tail); |