|
@@ -244,7 +244,7 @@ static ssize_t power_ro_lock_store(struct device *dev,
|
|
mq = &md->queue;
|
|
mq = &md->queue;
|
|
|
|
|
|
/* Dispatch locking to the block layer */
|
|
/* Dispatch locking to the block layer */
|
|
- req = blk_get_request(mq->queue, REQ_OP_DRV_OUT, __GFP_RECLAIM);
|
|
|
|
|
|
+ req = blk_get_request(mq->queue, REQ_OP_DRV_OUT, 0);
|
|
if (IS_ERR(req)) {
|
|
if (IS_ERR(req)) {
|
|
count = PTR_ERR(req);
|
|
count = PTR_ERR(req);
|
|
goto out_put;
|
|
goto out_put;
|
|
@@ -650,8 +650,7 @@ static int mmc_blk_ioctl_cmd(struct mmc_blk_data *md,
|
|
*/
|
|
*/
|
|
mq = &md->queue;
|
|
mq = &md->queue;
|
|
req = blk_get_request(mq->queue,
|
|
req = blk_get_request(mq->queue,
|
|
- idata->ic.write_flag ? REQ_OP_DRV_OUT : REQ_OP_DRV_IN,
|
|
|
|
- __GFP_RECLAIM);
|
|
|
|
|
|
+ idata->ic.write_flag ? REQ_OP_DRV_OUT : REQ_OP_DRV_IN, 0);
|
|
if (IS_ERR(req)) {
|
|
if (IS_ERR(req)) {
|
|
err = PTR_ERR(req);
|
|
err = PTR_ERR(req);
|
|
goto cmd_done;
|
|
goto cmd_done;
|
|
@@ -721,8 +720,7 @@ static int mmc_blk_ioctl_multi_cmd(struct mmc_blk_data *md,
|
|
*/
|
|
*/
|
|
mq = &md->queue;
|
|
mq = &md->queue;
|
|
req = blk_get_request(mq->queue,
|
|
req = blk_get_request(mq->queue,
|
|
- idata[0]->ic.write_flag ? REQ_OP_DRV_OUT : REQ_OP_DRV_IN,
|
|
|
|
- __GFP_RECLAIM);
|
|
|
|
|
|
+ idata[0]->ic.write_flag ? REQ_OP_DRV_OUT : REQ_OP_DRV_IN, 0);
|
|
if (IS_ERR(req)) {
|
|
if (IS_ERR(req)) {
|
|
err = PTR_ERR(req);
|
|
err = PTR_ERR(req);
|
|
goto cmd_err;
|
|
goto cmd_err;
|
|
@@ -2750,7 +2748,7 @@ static int mmc_dbg_card_status_get(void *data, u64 *val)
|
|
int ret;
|
|
int ret;
|
|
|
|
|
|
/* Ask the block layer about the card status */
|
|
/* Ask the block layer about the card status */
|
|
- req = blk_get_request(mq->queue, REQ_OP_DRV_IN, __GFP_RECLAIM);
|
|
|
|
|
|
+ req = blk_get_request(mq->queue, REQ_OP_DRV_IN, 0);
|
|
if (IS_ERR(req))
|
|
if (IS_ERR(req))
|
|
return PTR_ERR(req);
|
|
return PTR_ERR(req);
|
|
req_to_mmc_queue_req(req)->drv_op = MMC_DRV_OP_GET_CARD_STATUS;
|
|
req_to_mmc_queue_req(req)->drv_op = MMC_DRV_OP_GET_CARD_STATUS;
|
|
@@ -2786,7 +2784,7 @@ static int mmc_ext_csd_open(struct inode *inode, struct file *filp)
|
|
return -ENOMEM;
|
|
return -ENOMEM;
|
|
|
|
|
|
/* Ask the block layer for the EXT CSD */
|
|
/* Ask the block layer for the EXT CSD */
|
|
- req = blk_get_request(mq->queue, REQ_OP_DRV_IN, __GFP_RECLAIM);
|
|
|
|
|
|
+ req = blk_get_request(mq->queue, REQ_OP_DRV_IN, 0);
|
|
if (IS_ERR(req)) {
|
|
if (IS_ERR(req)) {
|
|
err = PTR_ERR(req);
|
|
err = PTR_ERR(req);
|
|
goto out_free;
|
|
goto out_free;
|