diff options
-rw-r--r-- | drivers/block/ub.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/block/ub.c b/drivers/block/ub.c index fe81d2febb63..692553270401 100644 --- a/drivers/block/ub.c +++ b/drivers/block/ub.c | |||
@@ -407,7 +407,7 @@ struct ub_dev { | |||
407 | /* | 407 | /* |
408 | */ | 408 | */ |
409 | static void ub_cleanup(struct ub_dev *sc); | 409 | static void ub_cleanup(struct ub_dev *sc); |
410 | static int ub_bd_rq_fn_1(struct ub_lun *lun, struct request *rq); | 410 | static int ub_request_fn_1(struct ub_lun *lun, struct request *rq); |
411 | static int ub_cmd_build_block(struct ub_dev *sc, struct ub_lun *lun, | 411 | static int ub_cmd_build_block(struct ub_dev *sc, struct ub_lun *lun, |
412 | struct ub_scsi_cmd *cmd, struct request *rq); | 412 | struct ub_scsi_cmd *cmd, struct request *rq); |
413 | static void ub_scsi_build_block(struct ub_lun *lun, | 413 | static void ub_scsi_build_block(struct ub_lun *lun, |
@@ -768,20 +768,20 @@ static struct ub_scsi_cmd *ub_cmdq_pop(struct ub_dev *sc) | |||
768 | * The request function is our main entry point | 768 | * The request function is our main entry point |
769 | */ | 769 | */ |
770 | 770 | ||
771 | static void ub_bd_rq_fn(request_queue_t *q) | 771 | static void ub_request_fn(request_queue_t *q) |
772 | { | 772 | { |
773 | struct ub_lun *lun = q->queuedata; | 773 | struct ub_lun *lun = q->queuedata; |
774 | struct request *rq; | 774 | struct request *rq; |
775 | 775 | ||
776 | while ((rq = elv_next_request(q)) != NULL) { | 776 | while ((rq = elv_next_request(q)) != NULL) { |
777 | if (ub_bd_rq_fn_1(lun, rq) != 0) { | 777 | if (ub_request_fn_1(lun, rq) != 0) { |
778 | blk_stop_queue(q); | 778 | blk_stop_queue(q); |
779 | break; | 779 | break; |
780 | } | 780 | } |
781 | } | 781 | } |
782 | } | 782 | } |
783 | 783 | ||
784 | static int ub_bd_rq_fn_1(struct ub_lun *lun, struct request *rq) | 784 | static int ub_request_fn_1(struct ub_lun *lun, struct request *rq) |
785 | { | 785 | { |
786 | struct ub_dev *sc = lun->udev; | 786 | struct ub_dev *sc = lun->udev; |
787 | struct ub_scsi_cmd *cmd; | 787 | struct ub_scsi_cmd *cmd; |
@@ -2357,7 +2357,7 @@ static int ub_probe_lun(struct ub_dev *sc, int lnum) | |||
2357 | disk->driverfs_dev = &sc->intf->dev; /* XXX Many to one ok? */ | 2357 | disk->driverfs_dev = &sc->intf->dev; /* XXX Many to one ok? */ |
2358 | 2358 | ||
2359 | rc = -ENOMEM; | 2359 | rc = -ENOMEM; |
2360 | if ((q = blk_init_queue(ub_bd_rq_fn, &sc->lock)) == NULL) | 2360 | if ((q = blk_init_queue(ub_request_fn, &sc->lock)) == NULL) |
2361 | goto err_blkqinit; | 2361 | goto err_blkqinit; |
2362 | 2362 | ||
2363 | disk->queue = q; | 2363 | disk->queue = q; |