2.4.0-ac9: bug in drivers/message/fusion/mptctl.c

From: Manfred Spraul (manfred@colorfullife.com)
Date: Wed Jan 17 2001 - 11:50:16 EST


AFAICS mptctl_lock() and mptctl_unlock() are just buggy implementations
of down() and up().

At least the 'current->state = TASK_UNINTERRUPTIBLE' must be moved into
the while(1) loop, or both function could be replaced with a semaphore.

--
	Manfred
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jan 23 2001 - 21:00:15 EST