2002-10-19 07:21:23

by Andres Salomon

[permalink] [raw]
Subject: [PATCH] 2.5.44 device_add double up() of device_sem

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


Attachments:
(No filename) (277.00 B)
core.c.diff (326.00 B)
Download all attachments