Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143331
b: refs/heads/master
c: 91e463c
h: refs/heads/master
i:
  143329: 8551998
  143327: be3d457
v: v3
  • Loading branch information
FUJITA Tomonori authored and Jens Axboe committed Apr 15, 2009
1 parent 69c97bb commit 5a77f58
Show file tree
Hide file tree
Showing 2 changed files with 5 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: d6ceb25e8d8bccf826848c2621a50d02c0a7f4ae
refs/heads/master: 91e463c8f5f7a5b09d3d034c01a88567af60c504
6 changes: 4 additions & 2 deletions trunk/block/scsi_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ static int blk_fill_sghdr_rq(struct request_queue *q, struct request *rq,
static int blk_complete_sghdr_rq(struct request *rq, struct sg_io_hdr *hdr,
struct bio *bio)
{
int ret = 0;
int r, ret = 0;

/*
* fill in all the output members
Expand All @@ -242,7 +242,9 @@ static int blk_complete_sghdr_rq(struct request *rq, struct sg_io_hdr *hdr,
ret = -EFAULT;
}

blk_rq_unmap_user(bio);
r = blk_rq_unmap_user(bio);
if (!ret)
ret = r;
blk_put_request(rq);

return ret;
Expand Down

0 comments on commit 5a77f58

Please sign in to comment.