[PATCH] dm: improve error message consistency
Tidy device-mapper error messages to include context information automatically. Signed-off-by: Alasdair G Kergon <agk@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
5c6bd75d06
commit
72d9486169
@@ -14,6 +14,8 @@
|
||||
|
||||
#include <linux/slab.h>
|
||||
|
||||
#define DM_MSG_PREFIX "multipath round-robin"
|
||||
|
||||
/*-----------------------------------------------------------------
|
||||
* Path-handling code, paths are held in lists
|
||||
*---------------------------------------------------------------*/
|
||||
@@ -191,9 +193,9 @@ static int __init dm_rr_init(void)
|
||||
int r = dm_register_path_selector(&rr_ps);
|
||||
|
||||
if (r < 0)
|
||||
DMERR("round-robin: register failed %d", r);
|
||||
DMERR("register failed %d", r);
|
||||
|
||||
DMINFO("dm-round-robin version 1.0.0 loaded");
|
||||
DMINFO("version 1.0.0 loaded");
|
||||
|
||||
return r;
|
||||
}
|
||||
|
Reference in New Issue
Block a user