Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66067
b: refs/heads/master
c: bc1c56f
h: refs/heads/master
i:
  66065: d5a1bb4
  66063: c613f9c
v: v3
  • Loading branch information
NeilBrown authored and Jens Axboe committed Oct 10, 2007
1 parent ef9e922 commit 4c13ca6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 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: 66846572bfb4ec62bcba260028cbbcbdb77bd636
refs/heads/master: bc1c56fde6dd1c85e2047c276456c07bd4508b5c
8 changes: 1 addition & 7 deletions trunk/block/ll_rw_blk.c
Original file line number Diff line number Diff line change
Expand Up @@ -2941,15 +2941,9 @@ static void init_request_from_bio(struct request *req, struct bio *bio)

req->errors = 0;
req->hard_sector = req->sector = bio->bi_sector;
req->hard_nr_sectors = req->nr_sectors = bio_sectors(bio);
req->current_nr_sectors = req->hard_cur_sectors = bio_cur_sectors(bio);
req->nr_phys_segments = bio_phys_segments(req->q, bio);
req->nr_hw_segments = bio_hw_segments(req->q, bio);
req->buffer = bio_data(bio); /* see ->buffer comment above */
req->bio = req->biotail = bio;
req->ioprio = bio_prio(bio);
req->rq_disk = bio->bi_bdev->bd_disk;
req->start_time = jiffies;
blk_rq_bio_prep(req->q, req, bio);
}

static int __make_request(struct request_queue *q, struct bio *bio)
Expand Down

0 comments on commit 4c13ca6

Please sign in to comment.