summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/ide/ide-devsets.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/ide/ide-devsets.c')
-rw-r--r--kernel/drivers/ide/ide-devsets.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/drivers/ide/ide-devsets.c b/kernel/drivers/ide/ide-devsets.c
index 9e98122f6..0dd43b4fc 100644
--- a/kernel/drivers/ide/ide-devsets.c
+++ b/kernel/drivers/ide/ide-devsets.c
@@ -165,8 +165,8 @@ int ide_devset_execute(ide_drive_t *drive, const struct ide_devset *setting,
if (!(setting->flags & DS_SYNC))
return setting->set(drive, arg);
- rq = blk_get_request(q, READ, __GFP_WAIT);
- rq->cmd_type = REQ_TYPE_SPECIAL;
+ rq = blk_get_request(q, READ, __GFP_RECLAIM);
+ rq->cmd_type = REQ_TYPE_DRV_PRIV;
rq->cmd_len = 5;
rq->cmd[0] = REQ_DEVSET_EXEC;
*(int *)&rq->cmd[1] = arg;