summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/gl520sm.c
diff options
context:
space:
mode:
authorStefan Haberland <stefan.haberland@de.ibm.com>2015-04-02 12:27:25 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-04-15 12:23:50 +0200
commitf2608cd4a37479d11d0748f524a6a363ee38631f (patch)
treef21edcbfd05db92f54dea89f32e43c6e2e1dcdd0 /drivers/hwmon/gl520sm.c
parents390/mm: Fix memory hotplug for unaligned standby memory (diff)
downloadlinux-f2608cd4a37479d11d0748f524a6a363ee38631f.tar.xz
linux-f2608cd4a37479d11d0748f524a6a363ee38631f.zip
s390/dasd: fix inability to set a DASD device offline
Fix ref counting for DASD devices leading to an inability to set a DASD device offline. Before a worker is scheduled the DASD device driver takes a reference to the device. If the worker was already scheduled this reference was never freed. Fix by giving the reference to the DASD device free when schedule_work() returns false. Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/hwmon/gl520sm.c')
0 files changed, 0 insertions, 0 deletions