summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/ide/ide-cd_ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/ide/ide-cd_ioctl.c')
-rw-r--r--kernel/drivers/ide/ide-cd_ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/drivers/ide/ide-cd_ioctl.c b/kernel/drivers/ide/ide-cd_ioctl.c
index 02caa7dd5..474173eb3 100644
--- a/kernel/drivers/ide/ide-cd_ioctl.c
+++ b/kernel/drivers/ide/ide-cd_ioctl.c
@@ -303,8 +303,8 @@ int ide_cdrom_reset(struct cdrom_device_info *cdi)
struct request *rq;
int ret;
- rq = blk_get_request(drive->queue, READ, __GFP_WAIT);
- rq->cmd_type = REQ_TYPE_SPECIAL;
+ rq = blk_get_request(drive->queue, READ, __GFP_RECLAIM);
+ rq->cmd_type = REQ_TYPE_DRV_PRIV;
rq->cmd_flags = REQ_QUIET;
ret = blk_execute_rq(drive->queue, cd->disk, rq, 0);
blk_put_request(rq);