Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56909
b: refs/heads/master
c: 787f17f
h: refs/heads/master
i:
  56907: 51a43c4
v: v3
  • Loading branch information
NeilBrown authored and Linus Torvalds committed May 24, 2007
1 parent 8a10527 commit 9e8a478
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1dbf37e8adf1ab6b82a510d5e69fa676ed9717c4
refs/heads/master: 787f17feb204ed1c6331892fb8124b80dc9fe288
3 changes: 1 addition & 2 deletions trunk/drivers/md/raid0.c
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ static int raid0_make_request (request_queue_t *q, struct bio *bio)
raid0_conf_t *conf = mddev_to_conf(mddev);
struct strip_zone *zone;
mdk_rdev_t *tmp_dev;
unsigned long chunk;
sector_t chunk;
sector_t block, rsect;
const int rw = bio_data_dir(bio);

Expand Down Expand Up @@ -470,7 +470,6 @@ static int raid0_make_request (request_queue_t *q, struct bio *bio)

sector_div(x, zone->nb_dev);
chunk = x;
BUG_ON(x != (sector_t)chunk);

x = block >> chunksize_bits;
tmp_dev = zone->dev[sector_div(x, zone->nb_dev)];
Expand Down

0 comments on commit 9e8a478

Please sign in to comment.