]> git.hungrycats.org Git - linux/commit
[PATCH] md: Change the way the name of an md device is printed in error messages.
authorAndrew Morton <akpm@osdl.org>
Wed, 4 Feb 2004 02:44:38 +0000 (18:44 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 4 Feb 2004 02:44:38 +0000 (18:44 -0800)
commit62c10f9eb2213c1850f26ea51b4efa6396696d68
tree22eb45c3dadf95ebecc8df31b64234e1574f8811
parentfe6498c9361bf09ca14f9da281283a8216c09710
[PATCH] md: Change the way the name of an md device is printed in error messages.

From: NeilBrown <neilb@cse.unsw.edu.au>

Instead of using ("md%d", mdidx(mddev)), we now use ("%s", mdname(mddev))
where mdname is the disk_name field in the associated gendisk structure.
This allows future flexability in naming.
drivers/md/md.c
drivers/md/multipath.c
drivers/md/raid0.c
drivers/md/raid1.c
drivers/md/raid5.c
drivers/md/raid6main.c
include/linux/raid/md_k.h