[PATCH] pktcdvd: Correctly set rq->cmd_len in pkt_generic_packet()
authorPeter Osterlund <petero2@telia.com>
Tue, 21 Feb 2006 02:28:01 +0000 (18:28 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 21 Feb 2006 04:00:10 +0000 (20:00 -0800)
commitcef289633a9321cd99dd5f6cc935657dc487e9f0
tree2cbe0a2c177817d666c2b626a7627f14b6c9595e
parentaa657ca9245a06fa435e00332a13da1fce182abc
[PATCH] pktcdvd: Correctly set rq->cmd_len in pkt_generic_packet()

It looks like the code in pkt_generic_packet() worked by luck in the past, but
after commit 186d330e682210100c671355580a8592e4a21692 leaving rq->cmd_len
uninitialized doesn't work any more.

Signed-off-by: Peter Osterlund <petero2@telia.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/pktcdvd.c