projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
block, drivers: add REQ_OP_FLUSH operation
[linux-2.6-microblaze.git]
/
drivers
/
ide
/
ide-disk.c
diff --git
a/drivers/ide/ide-disk.c
b/drivers/ide/ide-disk.c
index
05dbcce
..
e378ef7
100644
(file)
--- a/
drivers/ide/ide-disk.c
+++ b/
drivers/ide/ide-disk.c
@@
-431,7
+431,7
@@
static int idedisk_prep_fn(struct request_queue *q, struct request *rq)
ide_drive_t *drive = q->queuedata;
struct ide_cmd *cmd;
- if (
!(rq->cmd_flags & REQ_FLUSH)
)
+ if (
req_op(rq) != REQ_OP_FLUSH
)
return BLKPREP_OK;
if (rq->special) {