diff options
Diffstat (limited to 'kernel/drivers/ide/ide-park.c')
-rw-r--r-- | kernel/drivers/ide/ide-park.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/drivers/ide/ide-park.c b/kernel/drivers/ide/ide-park.c index ca958604c..2d7dca56d 100644 --- a/kernel/drivers/ide/ide-park.c +++ b/kernel/drivers/ide/ide-park.c @@ -31,10 +31,10 @@ static void issue_park_cmd(ide_drive_t *drive, unsigned long timeout) } spin_unlock_irq(&hwif->lock); - rq = blk_get_request(q, READ, __GFP_WAIT); + rq = blk_get_request(q, READ, __GFP_RECLAIM); rq->cmd[0] = REQ_PARK_HEADS; rq->cmd_len = 1; - rq->cmd_type = REQ_TYPE_SPECIAL; + rq->cmd_type = REQ_TYPE_DRV_PRIV; rq->special = &timeout; rc = blk_execute_rq(q, NULL, rq, 1); blk_put_request(rq); @@ -51,7 +51,7 @@ static void issue_park_cmd(ide_drive_t *drive, unsigned long timeout) rq->cmd[0] = REQ_UNPARK_HEADS; rq->cmd_len = 1; - rq->cmd_type = REQ_TYPE_SPECIAL; + rq->cmd_type = REQ_TYPE_DRV_PRIV; elv_add_request(q, rq, ELEVATOR_INSERT_FRONT); out: |