Skip to contentSkip to conversation

cluster/gfs-kernel/src/gfs ops_fstype.c

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

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Changes by: rpeterso at sourceware.org 2007-06-19 14:23:29

Modified files:
gfs-kernel/src/gfs: ops_fstype.c

Log message:
Resolves: bz 240570: Can't mount GFS file system on AoE device

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/ops_fstype.c.diff?cvsroot=cluster&r1=1.30&r2=1.31

gfs-kernel/src/gfs/ops_fstype.c +3 -0
@@ -178,6 +178,9 @@
 	snprintf(sdp->sd_proto_name, 256, "%s", proto);
 	snprintf(sdp->sd_table_name, 256, "%s", table);
 
+	while ((table = strchr(sdp->sd_table_name, '/')))
+		*table = '_';
+
  out:
 	kfree(sb);