Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176543
b: refs/heads/master
c: 598de40
h: refs/heads/master
i:
  176541: 44b5b09
  176539: 8aba792
  176535: a9304df
  176527: d993c06
  176511: 4bc4b11
v: v3
  • Loading branch information
Kiyoshi Ueda authored and Alasdair G Kergon committed Dec 10, 2009
1 parent 7c001c5 commit b941878
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 90abb8c4cec8f0aa4ce58790542e3cf13071601a
refs/heads/master: 598de40947909e6b948569710383661ecc0ddc8e
5 changes: 2 additions & 3 deletions trunk/drivers/md/dm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1495,11 +1495,10 @@ static int dm_prep_fn(struct request_queue *q, struct request *rq)
return BLKPREP_OK;
}

static void map_request(struct dm_target *ti, struct request *rq,
static void map_request(struct dm_target *ti, struct request *clone,
struct mapped_device *md)
{
int r;
struct request *clone = rq->special;
struct dm_rq_target_io *tio = clone->end_io_data;

/*
Expand Down Expand Up @@ -1576,7 +1575,7 @@ static void dm_request_fn(struct request_queue *q)

blk_start_request(rq);
spin_unlock(q->queue_lock);
map_request(ti, rq, md);
map_request(ti, rq->special, md);
spin_lock_irq(q->queue_lock);
}

Expand Down

0 comments on commit b941878

Please sign in to comment.