* [Cluster-devel] cluster/gfs/gfs_mkfs structures.c
@ 2006-07-14 19:28 rpeterso
0 siblings, 0 replies; only message in thread
From: rpeterso @ 2006-07-14 19:28 UTC (permalink / raw)
To: cluster-devel.redhat.com
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: rpeterso at sourceware.org 2006-07-14 19:28:26
Modified files:
gfs/gfs_mkfs : structures.c
Log message:
Fix divide by zero because superblock constants were not
correctly set.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs/gfs_mkfs/structures.c.diff?cvsroot=cluster&r1=1.3&r2=1.4
--- cluster/gfs/gfs_mkfs/structures.c 2006/07/10 23:39:35 1.3
+++ cluster/gfs/gfs_mkfs/structures.c 2006/07/14 19:28:26 1.4
@@ -122,6 +122,8 @@
sbd->sd_sb.sb_bsize = comline->bsize;
sbd->sd_sb.sb_bsize_shift = ffs(comline->bsize) - 1;
sbd->sd_sb.sb_seg_size = comline->seg_size;
+
+ compute_constants(sbd);
sbd->sd_sb.sb_jindex_di.no_formal_ino = jindex_dinode;
sbd->sd_sb.sb_jindex_di.no_addr = jindex_dinode;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-07-14 19:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-14 19:28 [Cluster-devel] cluster/gfs/gfs_mkfs structures.c rpeterso
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.