]> git.hungrycats.org Git - linux/commit
[PATCH] md: remove most calls to __bdevname from md.c
authorNeil Brown <neilb@cse.unsw.edu.au>
Tue, 24 Aug 2004 04:28:54 +0000 (21:28 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 24 Aug 2004 04:28:54 +0000 (21:28 -0700)
commit3cf9857a4086bb69782d3b373a25b6e5004309be
treee81fffae407b2db6dee5f1bc01dc497d4bcf2592
parentf57252ba00f6be694f0665bafbd18bc03d85e393
[PATCH] md: remove most calls to __bdevname from md.c

__bdevname now only prints major/minor number which isn't much help.  So
remove most calls to it from md.c, replacing those that are useful by calls
to bdevname (often printing the message when the error is first detected
rather than higher up the call tree).

Also discard hot_generate_error which doesn't do anything useful and never
has.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/md.c