Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 55f3f399 authored by Tejun Heo's avatar Tejun Heo
Browse files

ide: don't set REQ_SOFTBARRIER



ide doesn't have to worry about REQ_SOFTBARRIER.  Don't set it.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 853280a4
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -411,7 +411,6 @@ static void idedisk_prepare_flush(struct request_queue *q, struct request *rq)
	cmd->protocol = ATA_PROT_NODATA;

	rq->cmd_type = REQ_TYPE_ATA_TASKFILE;
	rq->cmd_flags |= REQ_SOFTBARRIER;
	rq->special = cmd;
}

+0 −1
Original line number Diff line number Diff line
@@ -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);