projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Split struct request ->flags into two parts
[powerpc.git]
/
drivers
/
ide
/
ide-dma.c
diff --git
a/drivers/ide/ide-dma.c
b/drivers/ide/ide-dma.c
index
7c3a13e
..
c3546fe
100644
(file)
--- a/
drivers/ide/ide-dma.c
+++ b/
drivers/ide/ide-dma.c
@@
-205,7
+205,7
@@
int ide_build_sglist(ide_drive_t *drive, struct request *rq)
ide_hwif_t *hwif = HWIF(drive);
struct scatterlist *sg = hwif->sg_table;
- BUG_ON((rq->
flags & REQ_DRIVE
_TASKFILE) && rq->nr_sectors > 256);
+ BUG_ON((rq->
cmd_type == REQ_TYPE_ATA
_TASKFILE) && rq->nr_sectors > 256);
ide_map_sg(drive, rq);