[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] cluster/gfs/gfs_mkfs structures.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	rpeterso 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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]