Loading fs/gfs2/ops_fstype.c +2 −1 Original line number Diff line number Diff line Loading @@ -144,7 +144,8 @@ static int init_names(struct gfs2_sbd *sdp, int silent) snprintf(sdp->sd_proto_name, GFS2_FSNAME_LEN, "%s", proto); snprintf(sdp->sd_table_name, GFS2_FSNAME_LEN, "%s", table); while ((table = strchr(sdp->sd_table_name, '/'))) table = sdp->sd_table_name; while ((table = strchr(table, '/'))) *table = '_'; out: Loading Loading
fs/gfs2/ops_fstype.c +2 −1 Original line number Diff line number Diff line Loading @@ -144,7 +144,8 @@ static int init_names(struct gfs2_sbd *sdp, int silent) snprintf(sdp->sd_proto_name, GFS2_FSNAME_LEN, "%s", proto); snprintf(sdp->sd_table_name, GFS2_FSNAME_LEN, "%s", table); while ((table = strchr(sdp->sd_table_name, '/'))) table = sdp->sd_table_name; while ((table = strchr(table, '/'))) *table = '_'; out: Loading