fs/btrfs/raid56.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-)
Removing the repeated words in rbio_orig_end_io() and
rmw_assemble_write_bios() left two comments reading oddly: one now starts
its second sentence in lower case and wraps early, and the other fits on a
single line. Reflow both, as Daniel Vacek pointed out.
Comments only, no functional changes.
Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
fs/btrfs/raid56.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/fs/btrfs/raid56.c b/fs/btrfs/raid56.c
index 4f702dbf581b..47d6a313cbdf 100644
--- a/fs/btrfs/raid56.c
+++ b/fs/btrfs/raid56.c
@@ -953,8 +953,8 @@ static void rbio_orig_end_io(struct btrfs_raid_bio *rbio, blk_status_t status)
/*
* Clear the data bitmap, as the rbio may be cached for later usage.
- * do this before unlock_stripe() so there will be no new bio
- * for this bio.
+ * Do this before unlock_stripe() so there will be no new bio for this
+ * bio.
*/
bitmap_clear(&rbio->dbitmap, 0, rbio->stripe_nsectors);
@@ -1450,10 +1450,7 @@ static int rmw_assemble_write_bios(struct btrfs_raid_bio *rbio,
/* We should have at least one data sector. */
ASSERT(bitmap_weight(&rbio->dbitmap, rbio->stripe_nsectors));
- /*
- * Reset errors, as we may have errors inherited from degraded
- * write.
- */
+ /* Reset errors, as we may have errors inherited from degraded write. */
bitmap_clear(rbio->error_bitmap, 0, rbio->nr_sectors);
/*
--
2.48.1
On Mon, Sep 07, 2026 at 05:11:53PM +0530, Hemanth Selam wrote: > Removing the repeated words in rbio_orig_end_io() and > rmw_assemble_write_bios() left two comments reading oddly: one now starts > its second sentence in lower case and wraps early, and the other fits on a > single line. Reflow both, as Daniel Vacek pointed out. > > Comments only, no functional changes. > > Assisted-by: Cursor:claude-opus-5 > Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com> No need to send such patches if thery're an immediate followup, the change can be done at commit time. This saves time on both sides.
Please drop this patch. You had already answered the question it tries to address: "Reformatting whole lines makes the typos harder to spot, so it's fine to leave it like that and reformat at commit time eventually." I sent it after reading Daniel's comments but before reading your reply to them, so I reflowed the two comments you had just said not to reflow. Entirely my fault, and easily avoided if I had read the whole thread first. Sorry for the noise. The typo fixes already in for-next are unaffected.
© 2016 - 2026 Red Hat, Inc.