Skip to contentSkip to conversation

cluster/gfs2 edit/Makefile edit/gfs2hex.c edit ...

Cluster-devel [email protected] 1 participant 1 message Jun 26, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: rpeterso at sourceware.org 2007-06-26 01:40:43

Modified files:
gfs2/edit : Makefile gfs2hex.c hexedit.c hexedit.h
gfs2/libgfs2 : super.c

Log message:
Resolves: bz 245635: Bring gfs2_edit up to date

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/edit/Makefile.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.4&r2=1.4.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/edit/gfs2hex.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.5.2.2&r2=1.5.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/edit/hexedit.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.6.2.2&r2=1.6.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/edit/hexedit.h.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.4.2.2&r2=1.4.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/libgfs2/super.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.3.2.1&r2=1.3.2.2

gfs2/edit/Makefile +1 -0
@@ -15,6 +15,7 @@
 
 SOURCE=	\
 	gfs2hex.c \
+	savemeta.c \
 	hexedit.c
 
 top_srcdir=..
gfs2/edit/gfs2hex.c +47 -27

155 lines not on this page · raw message

gfs2/edit/hexedit.c +893 -371

1,690 lines not on this page · raw message

gfs2/edit/hexedit.h +77 -16

140 lines not on this page · raw message

gfs2/libgfs2/super.c +2 -2
@@ -33,7 +33,7 @@
  *
  * Returns: 0 on success, -1 on failure
  */
-static int check_sb(struct gfs2_sbd *sdp, struct gfs2_sb *sb)
+int check_sb(struct gfs2_sb *sb)
 {
 	if (sb->sb_header.mh_magic != GFS2_MAGIC ||
 	    sb->sb_header.mh_type != GFS2_METATYPE_SB) {
@@ -75,7 +75,7 @@
 	gfs2_sb_in(&sdp->sd_sb, bh->b_data);
 	brelse(bh, not_updated);
 
-	error = check_sb(sdp, &sdp->sd_sb);
+	error = check_sb(&sdp->sd_sb);
 	if (error)
 		goto out;