aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorAtsushi Nemoto <[email protected]>2008-08-20 21:09:11 +0000
committerLinus Torvalds <[email protected]>2008-08-20 22:40:31 +0000
commit1d96469a34781340b2cc9bdf97d5913eecdaa038 (patch)
treea1ffd32c3119714a1a4e242417f9b3f8e9388930 /fs/proc/array.c
parentbinfmt_misc: fix false -ENOEXEC when coupled with other binary handlers (diff)
downloadkernel-1d96469a34781340b2cc9bdf97d5913eecdaa038.tar.gz
kernel-1d96469a34781340b2cc9bdf97d5913eecdaa038.zip
rtc: fix double lock on UIE emulation
With commit 5ad31a575157147b43fa84ef1e21471661653878 ("rtc: remove BKL for ioctl()"), RTC_UIE_ON ioctl cause double lock on rtc->ops_lock. The ops_lock must not be held while set_uie() calls rtc_read_time() which takes the lock. Also clear_uie() does not need ops_lock. This patch fixes return value of RTC_UIE_OFF ioctl too. Signed-off-by: Atsushi Nemoto <[email protected]> Cc: David Brownell <[email protected]> Cc: Russell King <[email protected]> Cc: Alessandro Zummo <[email protected]> Cc: "Rafael J. Wysocki" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions