diff options
author | Marc Zyngier <maz@kernel.org> | 2024-02-01 22:45:49 +0000 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2024-02-05 15:32:30 -0800 |
commit | 95b77082b790633129e318efde85a51571570395 (patch) | |
tree | 6e499a3324b8a26441ae2dbe766c13a7370294ab | |
parent | 570b9147deb6b07b955b55e06c714ca12a5f3e16 (diff) | |
download | linux-95b77082b790633129e318efde85a51571570395.tar.gz linux-95b77082b790633129e318efde85a51571570395.tar.bz2 linux-95b77082b790633129e318efde85a51571570395.zip |
md/linear: Get rid of md-linear.h
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 <song@kernel.org>
Cc: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20240201224549.750644-1-maz@kernel.org
-rw-r--r-- | drivers/md/md-linear.h | 17 |
1 files changed, 0 insertions, 17 deletions
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 |