Re: [PATCH] md/raid10: Fix typo in comment (replacment -> replacement)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 13, 2023 at 10:41 PM Jiangshan Yi <yijiangshan@xxxxxxxxxx> wrote:
>
> Replace replacment with replacement.
>
> Signed-off-by: Jiangshan Yi <yijiangshan@xxxxxxxxxx>

To be honest, I see very little value from typo fixes in comments.

I will apply this one, but I may start rejecting them in the future.

Thanks,
Song

> ---
>  drivers/md/raid10.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c
> index 6c66357f92f5..7b264add0d52 100644
> --- a/drivers/md/raid10.c
> +++ b/drivers/md/raid10.c
> @@ -1626,7 +1626,7 @@ static void raid10_end_discard_request(struct bio *bio)
>                 /*
>                  * raid10_remove_disk uses smp_mb to make sure rdev is set to
>                  * replacement before setting replacement to NULL. It can read
> -                * rdev first without barrier protect even replacment is NULL
> +                * rdev first without barrier protect even replacement is NULL
>                  */
>                 smp_rmb();
>                 rdev = conf->mirrors[dev].rdev;
> --
> 2.27.0
>




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux