2022-06-16 15:20:40

by Xiang wangx

[permalink] [raw]
Subject: [PATCH] drbd: Fix typo in comment

Delete the redundant word 'and'.

Signed-off-by: Xiang wangx <[email protected]>
---
drivers/block/drbd/drbd_bitmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/block/drbd/drbd_bitmap.c b/drivers/block/drbd/drbd_bitmap.c
index 9e060e49b3f8..8afdde400e37 100644
--- a/drivers/block/drbd/drbd_bitmap.c
+++ b/drivers/block/drbd/drbd_bitmap.c
@@ -86,7 +86,7 @@ struct drbd_bitmap {

/* exclusively to be used by __al_write_transaction(),
* drbd_bm_mark_for_writeout() and
- * and drbd_bm_write_hinted() -> bm_rw() called from there.
+ * drbd_bm_write_hinted() -> bm_rw() called from there.
*/
unsigned int n_bitmap_hints;
unsigned int al_bitmap_hints[AL_UPDATES_PER_TRANSACTION];
--
2.36.1


2022-06-22 14:28:37

by Christoph Böhmwalder

[permalink] [raw]
Subject: Re: [PATCH] drbd: Fix typo in comment

Am 16.06.22 um 16:32 schrieb Xiang wangx:
> Delete the redundant word 'and'.
>
> Signed-off-by: Xiang wangx <[email protected]>
> ---
> drivers/block/drbd/drbd_bitmap.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/block/drbd/drbd_bitmap.c b/drivers/block/drbd/drbd_bitmap.c
> index 9e060e49b3f8..8afdde400e37 100644
> --- a/drivers/block/drbd/drbd_bitmap.c
> +++ b/drivers/block/drbd/drbd_bitmap.c
> @@ -86,7 +86,7 @@ struct drbd_bitmap {
>
> /* exclusively to be used by __al_write_transaction(),
> * drbd_bm_mark_for_writeout() and
> - * and drbd_bm_write_hinted() -> bm_rw() called from there.
> + * drbd_bm_write_hinted() -> bm_rw() called from there.
> */
> unsigned int n_bitmap_hints;
> unsigned int al_bitmap_hints[AL_UPDATES_PER_TRANSACTION];

Thanks!

Acked-by: Christoph Böhmwalder <[email protected]>

--
Christoph Böhmwalder
LINBIT | Keeping the Digital World Running
DRBD HA — Disaster Recovery — Software defined Storage