Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 154021
b: refs/heads/master
c: 1119865
h: refs/heads/master
i:
  154019: 09a5d1d
v: v3
  • Loading branch information
FUJITA Tomonori authored and James Bottomley committed Jun 21, 2009
1 parent 220adcc commit c5f0599
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: 93bdcba5a7e55307e27671594c3cd8b4669b9e7a
refs/heads/master: 111986593561fc4c94a1fba3f3cd84476fb40b22
3 changes: 0 additions & 3 deletions trunk/block/bsg.c
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,6 @@ bsg_map_hdr(struct bsg_device *bd, struct sg_io_v4 *hdr, fmode_t has_write_perm,
blk_put_request(rq);
if (next_rq) {
blk_rq_unmap_user(next_rq->bio);
next_rq->bio = NULL;
blk_put_request(next_rq);
}
return ERR_PTR(ret);
Expand Down Expand Up @@ -449,7 +448,6 @@ static int blk_complete_sgv4_hdr_rq(struct request *rq, struct sg_io_v4 *hdr,
hdr->dout_resid = rq->resid_len;
hdr->din_resid = rq->next_rq->resid_len;
blk_rq_unmap_user(bidi_bio);
rq->next_rq->bio = NULL;
blk_put_request(rq->next_rq);
} else if (rq_data_dir(rq) == READ)
hdr->din_resid = rq->resid_len;
Expand All @@ -468,7 +466,6 @@ static int blk_complete_sgv4_hdr_rq(struct request *rq, struct sg_io_v4 *hdr,
blk_rq_unmap_user(bio);
if (rq->cmd != rq->__cmd)
kfree(rq->cmd);
rq->bio = NULL;
blk_put_request(rq);

return ret;
Expand Down

0 comments on commit c5f0599

Please sign in to comment.