diff options
author | Nick Andrew <nick@nick-andrew.net> | 2008-04-28 05:15:55 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 11:58:42 -0400 |
commit | d7a420c9472a95c46600a0345434b7b166e0b9c7 (patch) | |
tree | b95005ce8ab92efdb5cd04b3d85c3b01a0455ebc /drivers/md/multipath.c | |
parent | 4ef197d87ad7d4bb326de3e9b8ecbb26f9e86253 (diff) |
raid: remove leading TAB on printk messages
MD drivers use one printk() call to print 2 log messages and the second line
may be prefixed by a TAB character. It may also output a trailing space
before newline. klogd (I think) turns the TAB character into the 2 characters
'^I' when logging to a file. This looks ugly.
Instead of a leading TAB to indicate continuation, prefix both output lines
with 'raid:' or similar. Also remove any trailing space in the vicinity of
the affected code and consistently end the sentences with a period.
Signed-off-by: Nick Andrew <nick@nick-andrew.net>
Cc: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/md/multipath.c')
-rw-r--r-- | drivers/md/multipath.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/multipath.c b/drivers/md/multipath.c index 3f299d835a2b..42ee1a2dc144 100644 --- a/drivers/md/multipath.c +++ b/drivers/md/multipath.c | |||
@@ -244,7 +244,8 @@ static void multipath_error (mddev_t *mddev, mdk_rdev_t *rdev) | |||
244 | conf->working_disks--; | 244 | conf->working_disks--; |
245 | mddev->degraded++; | 245 | mddev->degraded++; |
246 | printk(KERN_ALERT "multipath: IO failure on %s," | 246 | printk(KERN_ALERT "multipath: IO failure on %s," |
247 | " disabling IO path. \n Operation continuing" | 247 | " disabling IO path.\n" |
248 | "multipath: Operation continuing" | ||
248 | " on %d IO paths.\n", | 249 | " on %d IO paths.\n", |
249 | bdevname (rdev->bdev,b), | 250 | bdevname (rdev->bdev,b), |
250 | conf->working_disks); | 251 | conf->working_disks); |