]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] rtc: fix idr locking
authorSonny Rao <sonny@burdell.org>
Tue, 27 Jun 2006 09:54:06 +0000 (02:54 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 28 Jun 2006 00:32:40 +0000 (17:32 -0700)
commit86f64443db7221e8ed3a47b4b3372bb12944270a
tree7c1cb6d405dcaf959d9b1f67f62991775722fcde
parent311373bd0f78c93cebbe880a678e09389c0086f5
[PATCH] rtc: fix idr locking

We need to serialize access to the global rtc_idr even in this error path.

Signed-off-by: Sonny Rao <sonny@burdell.org>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/rtc/class.c