Skip to contentSkip to conversation

cluster/gfs2/mount util.c

Cluster-devel [email protected] 1 participant 1 message May 24, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: teigland at sourceware.org 2007-05-24 19:00:02

Modified files:
gfs2/mount : util.c

Log message:
don't do gfs_sb_print() if we don't detect a gfs fs, it often just prints a bunch of garbage

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/mount/util.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.18.2.4&r2=1.18.2.5

gfs2/mount/util.c +0 -1
@@ -292,7 +292,6 @@
 
 		if (sb.sb_header.mh_magic != GFS_MAGIC ||
 		    sb.sb_header.mh_type != GFS_METATYPE_SB) {
-			gfs_sb_print(&sb);
 			die("there isn't a GFS filesystem on %s\n", device);
 		}