diff options
author | Tejun Heo <tj@kernel.org> | 2009-04-19 07:00:41 +0900 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2009-04-19 07:00:41 +0900 |
commit | 55f3f399422a4a3f6cb84ea4096dfaddf8817399 (patch) | |
tree | d4cb972e91c30525659054d81e045d11d929b47a /drivers/ide/ide-ioctls.c | |
parent | 853280a4dc8e3cc97ff10c1c02234d96078f437b (diff) | |
download | lwn-55f3f399422a4a3f6cb84ea4096dfaddf8817399.tar.gz lwn-55f3f399422a4a3f6cb84ea4096dfaddf8817399.zip |
ide: don't set REQ_SOFTBARRIER
ide doesn't have to worry about REQ_SOFTBARRIER. Don't set it.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ide/ide-ioctls.c')
-rw-r--r-- | drivers/ide/ide-ioctls.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ide/ide-ioctls.c b/drivers/ide/ide-ioctls.c index c1c25ebbaa1f..5991b23793f2 100644 --- a/drivers/ide/ide-ioctls.c +++ b/drivers/ide/ide-ioctls.c @@ -231,7 +231,6 @@ static int generic_drive_reset(ide_drive_t *drive) rq->cmd_type = REQ_TYPE_SPECIAL; rq->cmd_len = 1; rq->cmd[0] = REQ_DRIVE_RESET; - rq->cmd_flags |= REQ_SOFTBARRIER; if (blk_execute_rq(drive->queue, NULL, rq, 1)) ret = rq->errors; blk_put_request(rq); |