[PATCH] rtc: fix idr locking
We need to serialize access to the global rtc_idr even in this error path. Signed-off-by: NSonny Rao <sonny@burdell.org> Acked-by: NAlessandro Zummo <a.zummo@towertech.it> Signed-off-by: NAndrew Morton <akpm@osdl.org> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
Showing
想要评论请 注册 或 登录