From patchwork Mon Oct 9 23:13:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9994581 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7145C60223 for ; Mon, 9 Oct 2017 23:14:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 632C2286C4 for ; Mon, 9 Oct 2017 23:14:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 57E44286C8; Mon, 9 Oct 2017 23:14:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E80B2286C4 for ; Mon, 9 Oct 2017 23:14:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755573AbdJIXOI (ORCPT ); Mon, 9 Oct 2017 19:14:08 -0400 Received: from esa1.hgst.iphmx.com ([68.232.141.245]:54488 "EHLO esa1.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754347AbdJIXOG (ORCPT ); Mon, 9 Oct 2017 19:14:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1507590846; x=1539126846; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=yeK5VyDGS1cP93H7Gnd48XYgXSaxEd/KacdDBHJP9ac=; b=P3fRRCSTIZpjrPzazvfCZdqC3Dd3P7ALQKz5WMZkE16BDGDUORu3HRg1 2jV+5/egrbpq7tQcjliw0oxM5SYUc78DT4PWabn1fuODwDZX6x9idM5Jh U4cajEirJ/PnDqmFaSANFs046/wC9c6a0cBTImpvOfYKG6yYXxROkCIli EO+IdJsYkSX06H4ORLLzMssbRa7xZi6kMCer+iUPXQDBCZx0T8fY/WKTm i3ao4CMAMfriO8QxSIPv9WxzKjK2iXL2//sTkwE0H1b010n+uix9jVfcb 53UmtVwlvX5+/fJV2p1NUgAXVt6dgSbqLLvrPE9JFBTC0Gsl/WUDvHYmM A==; X-IronPort-AV: E=Sophos;i="5.42,501,1500912000"; d="scan'208";a="159653524" Received: from sjappemgw11.hgst.com (HELO sjappemgw12.hgst.com) ([199.255.44.62]) by ob1.hgst.iphmx.com with ESMTP; 10 Oct 2017 07:14:05 +0800 Received: from thinkpad-bart.sdcorp.global.sandisk.com (HELO thinkpad-bart.int.fusionio.com) ([10.11.172.152]) by sjappemgw12.hgst.com with ESMTP; 09 Oct 2017 16:14:01 -0700 From: Bart Van Assche To: Jens Axboe Cc: linux-block@vger.kernel.org, linux-scsi@vger.kernel.org, Christoph Hellwig , "Martin K . Petersen" , =Oleksandr Natalenko , "Luis R . Rodriguez" , Ming Lei , Bart Van Assche , Shaohua Li , linux-raid@vger.kernel.org, Hannes Reinecke , Johannes Thumshirn Subject: [PATCH v7 1/9] md: Rename md_notifier into md_reboot_notifier Date: Mon, 9 Oct 2017 16:13:52 -0700 Message-Id: <20171009231400.562-2-bart.vanassche@wdc.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171009231400.562-1-bart.vanassche@wdc.com> References: <20171009231400.562-1-bart.vanassche@wdc.com> Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This avoids confusion with the pm notifier that will be added through a later patch. Signed-off-by: Bart Van Assche Cc: Shaohua Li Cc: linux-raid@vger.kernel.org Cc: Ming Lei Cc: Christoph Hellwig Cc: Hannes Reinecke Cc: Johannes Thumshirn Reviewed-by: Johannes Thumshirn --- drivers/md/md.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/md/md.c b/drivers/md/md.c index 5d61049e7417..8933cafc212d 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c @@ -8966,7 +8966,7 @@ static int md_notify_reboot(struct notifier_block *this, return NOTIFY_DONE; } -static struct notifier_block md_notifier = { +static struct notifier_block md_reboot_notifier = { .notifier_call = md_notify_reboot, .next = NULL, .priority = INT_MAX, /* before any real devices */ @@ -9003,7 +9003,7 @@ static int __init md_init(void) blk_register_region(MKDEV(mdp_major, 0), 1UL<