* [PATCH] md - 3 of 3 - change 'or' to 'plus' in raid1
@ 2003-09-22 23:27 NeilBrown
0 siblings, 0 replies; only message in thread
From: NeilBrown @ 2003-09-22 23:27 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-raid
### Comments for ChangeSet
Silly typo.
----------- Diffstat output ------------
./drivers/md/raid1.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff ./drivers/md/raid1.c~current~ ./drivers/md/raid1.c
--- ./drivers/md/raid1.c~current~ 2003-09-23 09:10:56.000000000 +1000
+++ ./drivers/md/raid1.c 2003-09-23 09:12:05.000000000 +1000
@@ -830,7 +830,7 @@ static void sync_request_write(mddev_t *
mbio = bio_clone(bio, GFP_NOIO);
r1_bio->write_bios[i] = mbio;
mbio->bi_bdev = conf->mirrors[i].rdev->bdev;
- mbio->bi_sector = r1_bio->sector | conf->mirrors[i].rdev->data_offset;
+ mbio->bi_sector = r1_bio->sector + conf->mirrors[i].rdev->data_offset;
mbio->bi_end_io = end_sync_write;
mbio->bi_rw = WRITE;
mbio->bi_private = r1_bio;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-09-22 23:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-22 23:27 [PATCH] md - 3 of 3 - change 'or' to 'plus' in raid1 NeilBrown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).