Skip to content

Commit

Permalink
sbull: Fix compiling warning
Browse files Browse the repository at this point in the history
commits in linux-stable:
commit 5a7bbad27a410350e64a2d7f5ec18fc73836c14f
Author: Christoph Hellwig <[email protected]>
Date:   Mon Sep 12 12:12:01 2011 +0200

    block: remove support for bio remapping from ->make_request
  • Loading branch information
duxing2007 committed May 29, 2013
1 parent e475ba4 commit 4ab2bf7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sbull/sbull.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,14 +222,13 @@ static void sbull_full_request(struct request_queue *q)
/*
* The direct make request version.
*/
static int sbull_make_request(struct request_queue *q, struct bio *bio)
static void sbull_make_request(struct request_queue *q, struct bio *bio)
{
struct sbull_dev *dev = q->queuedata;
int status;

status = sbull_xfer_bio(dev, bio);
bio_endio(bio, status);
return 0;
}


Expand Down

0 comments on commit 4ab2bf7

Please sign in to comment.