]> err.no Git - linux-2.6/commitdiff
[PATCH] md: Change case of raid level reported in sys/mdX/md/level
authorNeil Brown <neilb@suse.de>
Tue, 20 Dec 2005 00:07:00 +0000 (11:07 +1100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 20 Dec 2005 00:47:50 +0000 (16:47 -0800)
I had thought that keeping the reported tail level clearly different
from the module name was a good idea, but I've changed my mind.

'raid5' is better and probably less confusing than 'RAID-5'.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/md.c

index cd12fca73b0d89fa0ee83e711f97c7d08e9cf63d..8175a2a222da8fc847f7a48f220eea7768414fb9 100644 (file)
@@ -1729,7 +1729,7 @@ level_show(mddev_t *mddev, char *page)
        if (p == NULL && mddev->raid_disks == 0)
                return 0;
        if (mddev->level >= 0)
-               return sprintf(page, "RAID-%d\n", mddev->level);
+               return sprintf(page, "raid%d\n", mddev->level);
        else
                return sprintf(page, "%s\n", p->name);
 }