aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2011-02-14 10:33:17 +0000
committerJohn Stultz <[email protected]>2011-02-17 22:59:22 +0000
commit516373b8b60fa4152334b6b6f2ece0f178c540ce (patch)
treefdc88e327f0e7143354b1ea4c190bee21aff6c1f /net/unix/af_unix.c
parentRTC: Fix minor compile warning (diff)
downloadkernel-516373b8b60fa4152334b6b6f2ece0f178c540ce.tar.gz
kernel-516373b8b60fa4152334b6b6f2ece0f178c540ce.zip
RTC: Release mutex in error path of rtc_alarm_irq_enable
On hardware that doesn't support alarm interrupts, rtc_alarm_irq_enable could return without releasing the ops_lock mutex. This was introduced in aa0be0f (RTC: Propagate error handling via rtc_timer_enqueue properly) This patch corrects the issue by only returning once the mutex is released. [john.stultz: Reworded the commit log] Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: John Stultz <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions