diff options
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/pktcdvd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c index 82ccad0a7f1a..b9a6b7ad64f3 100644 --- a/drivers/block/pktcdvd.c +++ b/drivers/block/pktcdvd.c | |||
@@ -914,8 +914,10 @@ static int pkt_handle_queue(struct pktcdvd_device *pd) | |||
914 | bio = node->bio; | 914 | bio = node->bio; |
915 | zone = ZONE(bio->bi_sector, pd); | 915 | zone = ZONE(bio->bi_sector, pd); |
916 | list_for_each_entry(p, &pd->cdrw.pkt_active_list, list) { | 916 | list_for_each_entry(p, &pd->cdrw.pkt_active_list, list) { |
917 | if (p->sector == zone) | 917 | if (p->sector == zone) { |
918 | bio = NULL; | ||
918 | goto try_next_bio; | 919 | goto try_next_bio; |
920 | } | ||
919 | } | 921 | } |
920 | break; | 922 | break; |
921 | try_next_bio: | 923 | try_next_bio: |