Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp485864rdb; Thu, 1 Feb 2024 14:46:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IHDqKmNOXxKcQmAjgxx6kjxzjiOTl0qB6Y2fEkYxzb5iprBKue5PeMHMtPkYaKRP65PZ09c X-Received: by 2002:a05:6a21:360e:b0:19c:621d:7f73 with SMTP id yg14-20020a056a21360e00b0019c621d7f73mr481094pzb.24.1706827594698; Thu, 01 Feb 2024 14:46:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706827594; cv=pass; d=google.com; s=arc-20160816; b=q95v8/glfv7KwYwpAsbyaJKaY27o33LVb4krVhKCH8qXFV4SRBkdriyttIbdX9C+0R WPmeZVk/gjUVpIw5scYaadxtHvbbtZ0NNMrr2mGIUxt1kB+G74e2crnsgsg4aMAd17T4 leXT3WBvK2b1NNhoJEl2ioYx+F07104fIFU7sNnntxuE4PMNI8f9MmZG2oTA+q+QVQX9 fABivokPILjkZir98sMITfrMt2MHSOzilVrwcCX/Su3WQDlkSfQKHIvCAH1G+ggJxwph zMkWHPvmBKAgLr0+frP93XlgOXHQ+fPxKKNAeem5uMKPxa9yykdPE2k6GQSZBK3rbQRg Xk8g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=g3oSciVMrHXcLlQMXq2zK3WYFmcosrqsSoHedzVkXEI=; fh=mz+M1U98wXBiAcu9jFJUuR2p9hGi45T9Hefy4nBS5Aw=; b=MqnTsvQ98UUBHe6AgaULlpvHRIOHbUmBUwgWspV5aLr2tj2hx1KCXQKd5xwx9Mr+h3 ouQ+IQS38KZg2/SG7Pxj1BFMTkfyvv3drIq6WvK6E0plrvlqv8m3rIjkh9rv1sTcjBQX uxSXu4A9iewTb2Gp9I2sEVVoH2C8NKoQ/C37PAa9GIhLHfsVtHmdX6iJScVMYUdC4tNo lO6QuCA/snS5OTouEOpyQXrnXdyxt9pLGWAIB3JdczWWGmAB1qNFdfGWiMod61zDHukP OQbUmIxndhWpcEUg79aa5sZaydGZfdL9ua5T4XGySz0e4jwB6P4Ehd/gk8QPYwSKOLD4 Y+2Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kRvTnHDz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-48957-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48957-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCWplqR4H3NnO+ofyaeHf3GvmI6gxXtEsDJ4LoieVxtphqDS+Mst3pjQplbYZdSMgj8ny09z3jy/aDCnoNwDwnCtDWezLAWHgw+Ge8IQxw== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d16-20020a630e10000000b005dbee62c2a3si465007pgl.228.2024.02.01.14.46.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 14:46:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48957-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kRvTnHDz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-48957-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48957-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 8E44D28E7C4 for ; Thu, 1 Feb 2024 22:46:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DAA4746B91; Thu, 1 Feb 2024 22:46:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kRvTnHDz" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F421541232; Thu, 1 Feb 2024 22:46:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706827572; cv=none; b=nX5r98+0Ni+KNaU8zVwqWlNGje2tWMH3TKmbfV56roXCoxLPH7+0tulYGx5If0Svv8EaFnuew+wQydzNU9IHv+K738eeMGRqIyyF08z3PFM16YgxFlA9dXgCROqA5m8PUfsyEp7NjT/2uQJgx0g/XpTeSKI7AG2lzc2foUpn9Bk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706827572; c=relaxed/simple; bh=YJS+2cuu7/F2wdO4i1rFQNUC6HDTDFemAVViu5UIbAM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=KkBA+jj9c2Fuk7zkzKQX0zgmH1KQOGq1mkQ6vS3dqqRQ2ES+MugdxJZL3YO1vfqvV/jr2m4mYbkP4TsZTTDJ+k3nBwwzGlEmvrRbPh5FeJi1Ut6d8EGEBlHiv3NALAmKskerSrG4BBXgbEBZy9Q3CNs7TmHSKvt0iHNe7X39aYQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kRvTnHDz; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2DF17C43143; Thu, 1 Feb 2024 22:46:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706827571; bh=YJS+2cuu7/F2wdO4i1rFQNUC6HDTDFemAVViu5UIbAM=; h=From:To:Cc:Subject:Date:From; b=kRvTnHDzVYF4uQlE13BUkFgITbueGryC1RYcfbpff6uIjk9ePxXLod89vLFV+PjCQ UXwxQhEWJwi3P0e3yTna4Qr+bT0vPwI+I/02ovZ3gWKE/cN8U7kTUYFDoeJ+9Wq19C VDeuptVOHhBM3Y0mCbguz7k/+xoDB2vkgqf+bSd6yXpCByy7LGXGdIK8NYmsX08Y7C ng+j0eiuYwY1UnTH1va8/0eyKjdkerkBPqRvSude/ReEqpatHWFWWpoziZFtbuGaII /7s8Skk966NryO8c2oZVhXDBNoc7kQkTVckqdytraNuFVTmWgG65iYKK16l8bLOVTr Z8cLmYJD1gZNg== Received: from sofa.misterjones.org ([185.219.108.64] helo=valley-girl.lan) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1rVfou-00H4ug-Fq; Thu, 01 Feb 2024 22:46:08 +0000 From: Marc Zyngier To: linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org Cc: Song Liu , Yu Kuai Subject: [PATCH] md/linear: Get rid of md-linear.h Date: Thu, 1 Feb 2024 22:45:49 +0000 Message-Id: <20240201224549.750644-1-maz@kernel.org> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org, song@kernel.org, yukuai3@huawei.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Given that 849d18e27be9 ("md: Remove deprecated CONFIG_MD_LINEAR") killed the linear flavour of MD, it seems only logical to drop the leftover include file that used to come with it. I also feel that it should be my own privilege to remove my 30 year old attempt at writing kernel code ;-). RIP! Cc: Song Liu Cc: Yu Kuai Signed-off-by: Marc Zyngier --- drivers/md/md-linear.h | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 drivers/md/md-linear.h diff --git a/drivers/md/md-linear.h b/drivers/md/md-linear.h deleted file mode 100644 index 5587eeedb882..000000000000 --- a/drivers/md/md-linear.h +++ /dev/null @@ -1,17 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINEAR_H -#define _LINEAR_H - -struct dev_info { - struct md_rdev *rdev; - sector_t end_sector; -}; - -struct linear_conf -{ - struct rcu_head rcu; - sector_t array_sectors; - int raid_disks; /* a copy of mddev->raid_disks */ - struct dev_info disks[] __counted_by(raid_disks); -}; -#endif -- 2.39.2