Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1979021ybh; Tue, 14 Jul 2020 12:09:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynVjD5DdtoiEj8nEt8DjQUg0oc+z5xiTsIjuvHn/ThbWGTfXpK+Dxla8yqKz1bpUapTQ4L X-Received: by 2002:a50:dacf:: with SMTP id s15mr6311333edj.136.1594753787601; Tue, 14 Jul 2020 12:09:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594753787; cv=none; d=google.com; s=arc-20160816; b=x1Ufc7MnN8Lj1Cw/eiqUKA1GAv62q25aRpAmceVX6PZf/CgopTJAuqeSMuvVhaWWol wAXZ1Tsjkb2WFkPgIZYTp14pUI46vtB9dpa3ABZtAEdSql0dU6A6w1FqOZBG8eHTPdGE 0F2X2jwrNlrOaYNeh62bTHnmW03JgQJOe55OFI5iUslLmFtx22WIKHoLB1dT+DrYvM5U oH+zmDX16TXePWu7/Feuo3PvnRTX8S6HaVfXeQ1h1YpNbYCYNonWK0PlgTlXRL8bJ+NL jnamQWispBSWwcNI3ML8+OVSs+gQ3LMx8Z9QoPhNKUf57XHxiPyVzykBDWIAzVsINTVW N9PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lispkLvcl0d72F43kCZTUhEngpZlXnmRDqJjVK2IdKY=; b=iXcC63ibW4OzXlL5kspHYhfwJ1ifNVa289ha5JwUFmjcs4ZaSae0WCHBkJxBFRljwS ZWyvQ2PzLMkBToD6du6+7WcCxFWLarP71Abnf7/xQFKLWZR7yH6QAPp5TKBJXrJjvtjB pLo8lyxZR34jHth8H45gUTdBD6hg9dI20uKJWstEvRCBcuS8WITdaLr2sbj/SWhcHwNG wZ1DbT1xVXFychpdqztBkPDEyo00kPfWJMa7r9YB5krprm0+okckUXTNz2xX2w5MlMC8 AOKKi9GoS3nL3hKJAPu1/drDqDEiJNBx36VfwoIjXFz/pTvxyLtWjumCb6xsjajAfQIh M+Pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=EP7bLEu8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y16si10709531ejw.207.2020.07.14.12.09.24; Tue, 14 Jul 2020 12:09:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=EP7bLEu8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731400AbgGNTJV (ORCPT + 99 others); Tue, 14 Jul 2020 15:09:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731244AbgGNTJA (ORCPT ); Tue, 14 Jul 2020 15:09:00 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 609F9C061794; Tue, 14 Jul 2020 12:09:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=lispkLvcl0d72F43kCZTUhEngpZlXnmRDqJjVK2IdKY=; b=EP7bLEu8Jz4+SRl3R6LjnAJoWq 6irdIJMXfaRDyHwBkqq42gUJeMICJPhv7pT+0BSDS7FCtCYNcwEYGhv5na6PEVpZGAFtPls32xOKX XLJ4o1gWz1lMJb6AQF2rnyUyKAMYAs+DZ0ga9TRTiH1EZiRd94JZdU/3SWlxKYrp3zf6UMm9iqb3N BhcnFcmDwNWOiR/4JYjDUk6j2Wcq/82Ytll2L+fHSodfvjZ7l0+h5BoEb92DFHG3OyTj9UwHviHtY GrV2PhMfxMlXIUgkRlrKUZZDqHZlaBHB5Up0tU2zWIty55p5GavRyMw3QuQkgew067u4wKqh4XYfT eSoSQh9g==; Received: from [2001:4bb8:188:5f50:f037:8cfe:627e:7028] (helo=localhost) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvQIU-0005qP-0b; Tue, 14 Jul 2020 19:08:58 +0000 From: Christoph Hellwig To: linux-kernel@vger.kernel.org Cc: "H. Peter Anvin" , Song Liu , Al Viro , Linus Torvalds , linux-raid@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [PATCH 07/23] md: remove the kernel version of md_u.h Date: Tue, 14 Jul 2020 21:04:11 +0200 Message-Id: <20200714190427.4332-8-hch@lst.de> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200714190427.4332-1-hch@lst.de> References: <20200714190427.4332-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org mdp_major can just move to drivers/md/md.h. Signed-off-by: Christoph Hellwig Acked-by: Song Liu --- drivers/md/md.h | 1 + include/linux/raid/md_u.h | 13 ------------- 2 files changed, 1 insertion(+), 13 deletions(-) delete mode 100644 include/linux/raid/md_u.h diff --git a/drivers/md/md.h b/drivers/md/md.h index 37315a3f28e97d..6f8fff77ce10a5 100644 --- a/drivers/md/md.h +++ b/drivers/md/md.h @@ -801,6 +801,7 @@ static inline void mddev_check_write_zeroes(struct mddev *mddev, struct bio *bio mddev->queue->limits.max_write_zeroes_sectors = 0; } +extern int mdp_major; void md_autostart_arrays(int part); #endif /* _MD_MD_H */ diff --git a/include/linux/raid/md_u.h b/include/linux/raid/md_u.h deleted file mode 100644 index 8dfec085a20ee1..00000000000000 --- a/include/linux/raid/md_u.h +++ /dev/null @@ -1,13 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - md_u.h : user <=> kernel API between Linux raidtools and RAID drivers - Copyright (C) 1998 Ingo Molnar - -*/ -#ifndef _MD_U_H -#define _MD_U_H - -#include - -extern int mdp_major; -#endif -- 2.27.0