double unlock in aac_fib_send()
This is from drivers/scsi/aacraid/commsup.c (2.6.30-rc1)
518 } else if (down_interruptible(&fibptr->event_wait)) {
519 fibptr->done = 2;
520 up(&fibptr->event_wait);
521 }
down_interruptible() returns zero if it aquires the lock or -EINTR on failure. Since we failed to aquire the lock there is no need to call up() on line 520.
Found by smatch (http://repo.or.cz/w/smatch.git).
regards,
dan carpenter