git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ACPI PM: Remove obsolete Toshiba workaround
[safe/jmp/linux-2.6]
/
drivers
/
ide
/
ide-tape.c
diff --git
a/drivers/ide/ide-tape.c
b/drivers/ide/ide-tape.c
index
54a43b0
..
1e1f263
100644
(file)
--- a/
drivers/ide/ide-tape.c
+++ b/
drivers/ide/ide-tape.c
@@
-662,7
+662,7
@@
static void idetape_create_request_sense_cmd(struct ide_atapi_pc *pc)
static void idetape_init_rq(struct request *rq, u8 cmd)
{
-
memset(rq, 0, sizeof(*rq)
);
+
blk_rq_init(NULL, rq
);
rq->cmd_type = REQ_TYPE_SPECIAL;
rq->cmd[0] = cmd;
}