X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=block%2Fbsg-lib.c;h=a89d801023044aec97869de0b868c707e4aaf222;hb=990467f8afde8c85215f6f4ab439b9615fd151e7;hp=cf18112617225541650d608af283c5b9c7952f8c;hpb=77d34a4683b053108ecd466cc7c4193b45805528;p=linux-2.6-microblaze.git diff --git a/block/bsg-lib.c b/block/bsg-lib.c index cf1811261722..a89d80102304 100644 --- a/block/bsg-lib.c +++ b/block/bsg-lib.c @@ -45,7 +45,7 @@ static int bsg_transport_fill_hdr(struct request *rq, struct sg_io_v4 *hdr, return PTR_ERR(job->request); if (hdr->dout_xfer_len && hdr->din_xfer_len) { - job->bidi_rq = blk_get_request(rq->q, REQ_OP_SCSI_IN, 0); + job->bidi_rq = blk_get_request(rq->q, REQ_OP_DRV_IN, 0); if (IS_ERR(job->bidi_rq)) { ret = PTR_ERR(job->bidi_rq); goto out;