[Cluster-devel] cluster/gfs/libgfs super.c
rpeterso at sourceware.org
rpeterso at sourceware.org
Tue Jan 23 21:36:03 UTC 2007
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: rpeterso at sourceware.org 2007-01-23 21:36:03
Modified files:
gfs/libgfs : super.c
Log message:
Resolves: bz 222759: gfs_mkfs doesn't zero data after gfs superblock
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs/libgfs/super.c.diff?cvsroot=cluster&r1=1.2&r2=1.3
--- cluster/gfs/libgfs/super.c 2006/07/14 19:25:08 1.2
+++ cluster/gfs/libgfs/super.c 2007/01/23 21:36:03 1.3
@@ -485,6 +485,7 @@
goto out;
}
+ memset(BH_DATA(bh), 0, sbp->sd_sb.sb_bsize);
gfs_sb_out(&sbp->sd_sb, BH_DATA(bh));
/* FIXME: Should this set the BW_WAIT flag? */
More information about the Cluster-devel
mailing list