Skip to contentSkip to conversation

locking bug in aacraid

DISCUSSION Dan Carpenter 1 participant 1 message Nov 29, 2009 SCSI

lore
Share & tools
lore
#0 lore raw

drivers/scsi/aacraid/commsup.c
518 } else if (down_interruptible(&fibptr->event_wait)) {
519 fibptr->done = 2;
520 up(&fibptr->event_wait);
521 }

If down_interruptible() returns -EINTR that means we don't need to call up() as we do on line 520.

regards,
dan carpenter