[PATCH] pktcdvd: fix bogus BUG_ON
authorPeter Osterlund <petero2@telia.com>
Tue, 13 Sep 2005 08:25:27 +0000 (01:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 13 Sep 2005 15:22:30 +0000 (08:22 -0700)
commitd0272e78eee4dc53c887fd132e9035daf037d423
treeb17c64ef5cc44adef6879c03d09e7291887ca874
parentb9f0bd0895c040f69a0440286b64725f74f5b387
[PATCH] pktcdvd: fix bogus BUG_ON

In the packet writing driver, if the drive reports a packet size larger than
the driver can handle, bail out safely instead of triggering a BUG_ON.

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