From patchwork Tue Oct 10 21:03:37 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: 9997793 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 F199760230 for ; Tue, 10 Oct 2017 21:04:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E4DEA28795 for ; Tue, 10 Oct 2017 21:04:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D9AC02879B; Tue, 10 Oct 2017 21:04:06 +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=unavailable 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 9935D28795 for ; Tue, 10 Oct 2017 21:04:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933277AbdJJVDu (ORCPT ); Tue, 10 Oct 2017 17:03:50 -0400 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:48965 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932984AbdJJVDs (ORCPT ); Tue, 10 Oct 2017 17:03:48 -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=1507669428; x=1539205428; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=V4cOvPtjVV/4BoNCHb3M9WGKthC1oALbxw9cGDqa9VY=; b=E2/Jkx7xkr31+sv/Oj47T9J+Zmjk8t8UX7GFR/BEoZnbmyK0TTkpsxi7 vN2xayoAT1I8zPeVFOnJthPv+BMl9+h5NdScye6XA9cekfgajHrBiLvtZ DK9TU8eStJ/2HLsaIZEpfRKubDevcbhdbz8rfTTVyqn2O9ON4JHcNV4ac zVK8xkOMvtzBu6945SfWz5v0qNAXDOeTldF6g79D1cF96Fu5dfm5FRKzC qQxXagVuk6z7BqmVWbycI7NRfjEeKxgdF1iPBiSBGe6vTaqX6cm1LJ3Qs UaXFK9OR2Ct/DlnEyXuPtdOlmpbRZI2uxIvBRUrxznXrnEud91+fCRIdH A==; X-IronPort-AV: E=Sophos;i="5.43,359,1503331200"; d="scan'208";a="57741101" Received: from sjappemgw11.hgst.com (HELO sjappemgw12.hgst.com) ([199.255.44.62]) by ob1.hgst.iphmx.com with ESMTP; 11 Oct 2017 05:03:47 +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; 10 Oct 2017 14:03:46 -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 , Ming Lei , Bart Van Assche , Shaohua Li , linux-raid@vger.kernel.org, Hannes Reinecke Subject: [PATCH v8 01/10] md: Rename md_notifier into md_reboot_notifier Date: Tue, 10 Oct 2017 14:03:37 -0700 Message-Id: <20171010210346.14574-2-bart.vanassche@wdc.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171010210346.14574-1-bart.vanassche@wdc.com> References: <20171010210346.14574-1-bart.vanassche@wdc.com> Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@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 Reviewed-by: Johannes Thumshirn Cc: Shaohua Li Cc: linux-raid@vger.kernel.org Cc: Ming Lei Cc: Christoph Hellwig Cc: Hannes Reinecke --- 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<