All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] cluster/gfs2/libgfs2 structures.c
@ 2006-11-22 18:39 rpeterso
  0 siblings, 0 replies; 3+ messages in thread
From: rpeterso @ 2006-11-22 18:39 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	rpeterso at sourceware.org	2006-11-22 18:39:39

Modified files:
	gfs2/libgfs2   : structures.c 

Log message:
	Resolves: bz216898
	mkfs.gfs2 needs to zero the first 16 blocks of file system

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/libgfs2/structures.c.diff?cvsroot=cluster&r1=1.5&r2=1.6

--- cluster/gfs2/libgfs2/structures.c	2006/06/14 13:55:11	1.5
+++ cluster/gfs2/libgfs2/structures.c	2006/11/22 18:39:38	1.6
@@ -55,8 +55,9 @@
 	/* Zero out the beginning of the device up to the superblock */
 	for (x = 0; x < sdp->sb_addr; x++) {
 		bh = bget(sdp, x);
+		memset(bh->b_data, 0, GFS2_DEFAULT_BSIZE);
 		bh->b_uninit = TRUE;
-		brelse(bh, not_updated);
+		brelse(bh, updated);
 	}
 
 	memset(&sb, 0, sizeof(struct gfs2_sb));



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Cluster-devel] cluster/gfs2/libgfs2 structures.c
@ 2006-11-22 18:41 rpeterso
  0 siblings, 0 replies; 3+ messages in thread
From: rpeterso @ 2006-11-22 18:41 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL5
Changes by:	rpeterso at sourceware.org	2006-11-22 18:41:38

Modified files:
	gfs2/libgfs2   : structures.c 

Log message:
	Resolves: bz216898
	mkfs.gfs2 needs to zero the first 16 blocks of file system

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/libgfs2/structures.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.5&r2=1.5.2.1

--- cluster/gfs2/libgfs2/structures.c	2006/06/14 13:55:11	1.5
+++ cluster/gfs2/libgfs2/structures.c	2006/11/22 18:41:38	1.5.2.1
@@ -55,8 +55,9 @@
 	/* Zero out the beginning of the device up to the superblock */
 	for (x = 0; x < sdp->sb_addr; x++) {
 		bh = bget(sdp, x);
+		memset(bh->b_data, 0, GFS2_DEFAULT_BSIZE);
 		bh->b_uninit = TRUE;
-		brelse(bh, not_updated);
+		brelse(bh, updated);
 	}
 
 	memset(&sb, 0, sizeof(struct gfs2_sb));



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Cluster-devel] cluster/gfs2/libgfs2 structures.c
@ 2006-11-22 18:42 rpeterso
  0 siblings, 0 replies; 3+ messages in thread
From: rpeterso @ 2006-11-22 18:42 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL50
Changes by:	rpeterso at sourceware.org	2006-11-22 18:42:51

Modified files:
	gfs2/libgfs2   : structures.c 

Log message:
	Resolves: bz216898
	mkfs.gfs2 needs to zero the first 16 blocks of file system

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/libgfs2/structures.c.diff?cvsroot=cluster&only_with_tag=RHEL50&r1=1.5&r2=1.5.4.1

--- cluster/gfs2/libgfs2/structures.c	2006/06/14 13:55:11	1.5
+++ cluster/gfs2/libgfs2/structures.c	2006/11/22 18:42:51	1.5.4.1
@@ -55,8 +55,9 @@
 	/* Zero out the beginning of the device up to the superblock */
 	for (x = 0; x < sdp->sb_addr; x++) {
 		bh = bget(sdp, x);
+		memset(bh->b_data, 0, GFS2_DEFAULT_BSIZE);
 		bh->b_uninit = TRUE;
-		brelse(bh, not_updated);
+		brelse(bh, updated);
 	}
 
 	memset(&sb, 0, sizeof(struct gfs2_sb));



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-11-22 18:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-22 18:42 [Cluster-devel] cluster/gfs2/libgfs2 structures.c rpeterso
  -- strict thread matches above, loose matches on Subject: below --
2006-11-22 18:41 rpeterso
2006-11-22 18:39 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.