Re: kernfs/rtc: circular dependency between kernfs and ops_lock

From: Lars-Peter Clausen
Date: Mon Mar 31 2014 - 05:52:00 EST


On 03/31/2014 11:46 AM, Alessandro Zummo wrote:
On Sun, 30 Mar 2014 12:04:16 -0400
Sasha Levin <sasha.levin@xxxxxxxxxx> wrote:

Look good, thanks!

Or not...

Hit it again during overnight fuzzing:


I think this is a different bug, please try this.

It's the same bug, device_unregister(&rtc->dev) will try to unregister all sysfs files attached to the device and that function is still called with the rtc mutex held.

- Lars

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