lkml.org 
[lkml]   [2024]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] md/linear: Get rid of md-linear.h
From
Date
在 2024/02/02 6:45, Marc Zyngier 写道:
> 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>

LGTM
Reviewed-by: Yu Kuai <yukuai3@huawei.com>

> ---
> 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
>


\
 
 \ /
  Last update: 2024-05-27 14:45    [W:0.066 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site