diff --git a/[refs] b/[refs] index b7b479a07198..b89195068870 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 66e0a9888b774af625ce544f7c6597c7506d07db +refs/heads/master: 2436f039d26a91e5404974ee0cb789b17db46168 diff --git a/trunk/fs/partitions/check.c b/trunk/fs/partitions/check.c index f3b6af071722..45ae7dd3c650 100644 --- a/trunk/fs/partitions/check.c +++ b/trunk/fs/partitions/check.c @@ -372,6 +372,7 @@ static char *make_block_name(struct gendisk *disk) char *name; static char *block_str = "block:"; int size; + char *s; size = strlen(block_str) + strlen(disk->disk_name) + 1; name = kmalloc(size, GFP_KERNEL); @@ -379,6 +380,10 @@ static char *make_block_name(struct gendisk *disk) return NULL; strcpy(name, block_str); strcat(name, disk->disk_name); + /* ewww... some of these buggers have / in name... */ + s = strchr(name, '/'); + if (s) + *s = '!'; return name; }