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

Manfred Spraul (manfred@colorfullife.com)
Wed, 17 Jan 2001 17:50:16 +0100


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/