[PATCH] 2.5.44 device_add double up() of device_sem

From: Andres Salomon (dilinger@mp3revolution.net)
Date: Sat Oct 19 2002 - 02:27:27 EST


I noticed this while tracking down an oops. If there's any sort of
error in device_add(), register_done is jumped to. At that point,
device_sem is up()'d twice. This patch fixes that.

-- 
It's not denial.  I'm just selective about the reality I accept.
	-- Bill Watterson


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



This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:46 EST