Loading drivers/md/raid1.c +1 −1 Original line number Diff line number Diff line Loading @@ -1145,7 +1145,7 @@ static int end_sync_write(struct bio *bio, unsigned int bytes_done, int error) long sectors_to_go = r1_bio->sectors; /* make sure these bits doesn't get cleared. */ do { bitmap_end_sync(mddev->bitmap, r1_bio->sector, bitmap_end_sync(mddev->bitmap, s, &sync_blocks, 1); s += sync_blocks; sectors_to_go -= sync_blocks; Loading Loading
drivers/md/raid1.c +1 −1 Original line number Diff line number Diff line Loading @@ -1145,7 +1145,7 @@ static int end_sync_write(struct bio *bio, unsigned int bytes_done, int error) long sectors_to_go = r1_bio->sectors; /* make sure these bits doesn't get cleared. */ do { bitmap_end_sync(mddev->bitmap, r1_bio->sector, bitmap_end_sync(mddev->bitmap, s, &sync_blocks, 1); s += sync_blocks; sectors_to_go -= sync_blocks; Loading