Skip to contentSkip to conversation

drbd: Fix typo in comment

PATCH In review Xiang wangx 3 participants 3 messages Jun 16, 2022 – Mar 5, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drbd: Fix typo in comment

Delete the redundant word 'and'.

---
 drivers/block/drbd/drbd_bitmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/block/drbd/drbd_bitmap.c +1 -1
index 9e060e49b3f8..8afdde400e37 100644
@@ -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];
Signature · 1 line
2.36.1
maintainer Acked-by on v1 1/1
#1 lore raw

Am 16.06.22 um 16:32 schrieb Xiang wangx:

Quoted 12 lines

Delete the redundant word 'and'.

---
 drivers/block/drbd/drbd_bitmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/block/drbd/drbd_bitmap.c +0 -0
index 9e060e49b3f8..8afdde400e37 100644

drivers/block/drbd/drbd_bitmap.c struct drbd_bitmap { · line 92

Quoted 8 lines
drivers/block/drbd/drbd_bitmap.c +1 -1
@@ -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!

Signature · 3 lines
Christoph Böhmwalder
LINBIT | Keeping the Digital World Running
DRBD HA —  Disaster Recovery — Software defined Storage
Reviewed-by
#2 lore raw
Reviewed-by [email protected]

Christoph Böhmwalder <[email protected]> 于2022年6月22日周三

Quoted 32 lines · 22:29写道:

Am 16.06.22 um 16:32 schrieb Xiang wangx:

Review

Quoted 8 lines

Delete the redundant word 'and'.

---
 drivers/block/drbd/drbd_bitmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0

b/drivers/block/drbd/drbd_bitmap.c

drivers/block/drbd/drbd_bitmap.c struct drbd_bitmap { · line 92

Quoted 12 lines

index 9e060e49b3f8..8afdde400e37 100644

drivers/block/drbd/drbd_bitmap.c +1 -1
@@ -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!

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