aboutsummaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-sh.c
diff options
context:
space:
mode:
authorStefan Weinhuber <wein@de.ibm.com>2008-03-05 12:37:11 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-03-05 12:37:18 +0100
commita5e2383991ee985332854b721ba3e5abbbabf0f2 (patch)
tree6dee7e87d0fd0a93a041e773684724e6ca9af418 /drivers/rtc/rtc-sh.c
parent5c12f2406cea24a2c885a8d3e5aa7ab94c65f0d5 (diff)
[S390] dasd: fix reference counting in display method for proc/dasd/devices
Using the /proc/dasd/devices interface leaves the reference counter of alias devices in an inconsistent state. A process that tries to set such a device offline afterwards will hang. The dasd_devices_show function returns immediately for alias devices and this code path was missing a dasd_put_device call. Signed-off-by: Stefan Weinhuber <wein@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/rtc/rtc-sh.c')
0 files changed, 0 insertions, 0 deletions