From patchwork Tue Oct 17 23:26:21 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: 10013043 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 8BD65600CC for ; Tue, 17 Oct 2017 23:26:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E6B728A13 for ; Tue, 17 Oct 2017 23:26:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7327728A21; Tue, 17 Oct 2017 23:26:36 +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 03B0928A13 for ; Tue, 17 Oct 2017 23:26:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761463AbdJQX0e (ORCPT ); Tue, 17 Oct 2017 19:26:34 -0400 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:47593 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761423AbdJQX0c (ORCPT ); Tue, 17 Oct 2017 19:26:32 -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=1508282793; x=1539818793; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=9LK/zTBKiRprdEkbifunQpZD/ZqxPsPfs7qkuIu9nJg=; b=kldfea3X2FjWRAERglPQlNUkRWph8L8o/6EVfZHnOR4rDei+1EilxMB1 x4gTrwHqj0cpANvbgbkNG80EdPGUvsw6CmfZnlr3S2LgGcyXF/crtECYe UgFGgdxeaesu/tkpsdQUnLMMYjqbRB+HzWR2HpsrblFa/m4ZqZ15Izk/n 5TQyBdsc2DKweb1aGTSiG5OKX63OBp066FAW5S8oKHycnrasETmFq8qEi /dTipE3M2pJICOlaHQy5QfGbMJgZv3kZc6dOIm5bEIdXupb//AK3E8H1W MUr3UTdIsFy9BwmNkrs9bs3snanXxuPCJh+uj+ITYUo3S7vONg90uzFf6 g==; X-IronPort-AV: E=Sophos;i="5.43,393,1503331200"; d="scan'208";a="58837495" Received: from sjappemgw11.hgst.com (HELO sjappemgw12.hgst.com) ([199.255.44.62]) by ob1.hgst.iphmx.com with ESMTP; 18 Oct 2017 07:26:32 +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; 17 Oct 2017 16:26:31 -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 , linux-raid@vger.kernel.org Subject: [PATCH v10 01/10] md: Rename md_notifier into md_reboot_notifier Date: Tue, 17 Oct 2017 16:26:21 -0700 Message-Id: <20171017232630.4264-2-bart.vanassche@wdc.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171017232630.4264-1-bart.vanassche@wdc.com> References: <20171017232630.4264-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 Reviewed-by: Shaohua Li Reviewed-by: Hannes Reinecke Tested-by: Martin Steigerwald Cc: linux-raid@vger.kernel.org Cc: Ming Lei Cc: Christoph Hellwig --- 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<