public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* locking bug in aacraid
@ 2009-11-29 16:01 Dan Carpenter
  0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2009-11-29 16:01 UTC (permalink / raw)
  To: linux-scsi; +Cc: aacraid

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-29 16:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-29 16:01 locking bug in aacraid Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox