lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1326662055-7098-1-git-send-email-levinsasha928@gmail.com>
Date:	Sun, 15 Jan 2012 23:14:15 +0200
From:	Sasha Levin <levinsasha928@...il.com>
To:	neilb@...e.de, mingo@...e.hu
Cc:	linux-raid@...r.kernel.org, linux-kernel@...r.kernel.org,
	Sasha Levin <levinsasha928@...il.com>
Subject: [PATCH] md: Remove annoying debug message when restarting

This patch removes the "md: stopping all md devices" message when shutting
down/restarting.

On Sat, 2012-01-14 at 09:43 +0100, Ingo Molnar wrote:
> Btw. #2, that annoying 'md: stopping' message should be gotten
> rid of. Some moron added that to the kernel as a one-day debug
> printout to debug a software-RAID hang during development of the
> code, about 15 years ago. (Oh, that was me.)

Signed-off-by: Sasha Levin <levinsasha928@...il.com>
---
 drivers/md/md.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/md/md.c b/drivers/md/md.c
index 9417ae2..1491969 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -8158,8 +8158,6 @@ static int md_notify_reboot(struct notifier_block *this,
 
 	if ((code == SYS_DOWN) || (code == SYS_HALT) || (code == SYS_POWER_OFF)) {
 
-		printk(KERN_INFO "md: stopping all md devices.\n");
-
 		for_each_mddev(mddev, tmp) {
 			if (mddev_trylock(mddev)) {
 				/* Force a switch to readonly even array
-- 
1.7.8.3

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ