Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144473
b: refs/heads/master
c: bf5e84f
h: refs/heads/master
i:
  144471: cc1f7a4
v: v3
  • Loading branch information
Dan Carpenter authored and James Bottomley committed Apr 27, 2009
1 parent 8aa9356 commit 2acb7a4
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 3b8b5c9b1f08660583e5dfe095c24170df62f1d2
refs/heads/master: bf5e84f69618f416e89a5a53434a8c865e70252e
4 changes: 2 additions & 2 deletions trunk/drivers/scsi/osd/osd_initiator.c
Original file line number Diff line number Diff line change
Expand Up @@ -612,9 +612,9 @@ static int _osd_req_list_objects(struct osd_request *or,

WARN_ON(or->in.bio);
bio = bio_map_kern(q, list, len, or->alloc_flags);
if (!bio) {
if (IS_ERR(bio)) {
OSD_ERR("!!! Failed to allocate list_objects BIO\n");
return -ENOMEM;
return PTR_ERR(bio);
}

bio->bi_rw &= ~(1 << BIO_RW);
Expand Down

0 comments on commit 2acb7a4

Please sign in to comment.