lkml.org 
[lkml]   [1999]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectUnneccessary defines in raid1
Hi!

These defines seem to be uneeded. Mingo, can you please merge it into
your tree and/or forward it to Linus? (You are the raid person, are
you?)
Pavel

--- clean//drivers/block/raid1.c Thu Aug 19 09:54:11 1999
+++ linux/drivers/block/raid1.c Sat Nov 6 23:09:03 1999
@@ -366,19 +366,10 @@
#define LAST_DISK KERN_ALERT \
"raid1: only one disk left and IO error.\n"

-#define NO_SPARE_DISK KERN_ALERT \
-"raid1: no spare disk left, degrading mirror level by one.\n"
-
#define DISK_FAILED KERN_ALERT \
"raid1: Disk failure on %s, disabling device. \n" \
" Operation continuing on %d devices\n"

-#define START_SYNCING KERN_ALERT \
-"raid1: start syncing spare disk.\n"
-
-#define ALREADY_SYNCING KERN_INFO \
-"raid1: syncing already in progress.\n"
-
static int raid1_error (struct md_dev *mddev, kdev_t dev)
{
struct raid1_data *raid_conf = (struct raid1_data *) mddev->private;
@@ -428,9 +419,7 @@
}

#undef LAST_DISK
-#undef NO_SPARE_DISK
#undef DISK_FAILED
-#undef START_SYNCING

/*
* This is the personality-specific hot-addition routine
--
I'm really pavel@ucw.cz. Look at http://195.113.31.123/~pavel. Pavel
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.048 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site