Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360304
b: refs/heads/master
c: 2dbe10a
h: refs/heads/master
v: v3
  • Loading branch information
Asias He authored and Nicholas Bellinger committed Feb 28, 2013
1 parent 98e7d95 commit ca4a634
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: 472b72f2db7831d7dbe22ffdff4adee3bd49b05d
refs/heads/master: 2dbe10a202d2743582b5fb7c9864455ef6ecf9a6
4 changes: 2 additions & 2 deletions trunk/drivers/target/target_core_pscsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -840,14 +840,14 @@ static void pscsi_bi_endio(struct bio *bio, int error)
bio_put(bio);
}

static inline struct bio *pscsi_get_bio(int sg_num)
static inline struct bio *pscsi_get_bio(int nr_vecs)
{
struct bio *bio;
/*
* Use bio_malloc() following the comment in for bio -> struct request
* in block/blk-core.c:blk_make_request()
*/
bio = bio_kmalloc(GFP_KERNEL, sg_num);
bio = bio_kmalloc(GFP_KERNEL, nr_vecs);
if (!bio) {
pr_err("PSCSI: bio_kmalloc() failed\n");
return NULL;
Expand Down

0 comments on commit ca4a634

Please sign in to comment.