summaryrefslogtreecommitdiff
path: root/kernel/taskstats.c
diff options
context:
space:
mode:
authorStefan Haberland <stefan.haberland@de.ibm.com>2010-02-27 00:37:47 +0300
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>2010-02-27 00:37:32 +0300
commit589c74d5076dd1bde13a5a36d97ca79be8bd72b2 (patch)
tree252349a17326853d7e026b357921da6192958d26 /kernel/taskstats.c
parent9eb251225ab4dbea3119cfcf4c5194eed223a740 (diff)
downloadlinux-589c74d5076dd1bde13a5a36d97ca79be8bd72b2.tar.xz
[S390] dasd: fix refcounting.
The function dasd_device_from_cdev returns a reference to the dasd device and increases the refcount by one. If an exception occurs, the refcount was not decreased in all cases e.g. in dasd_discipline_show. Prevent the offline processing from hang by correcting two functions to decrease the refcount even if an error occured. Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'kernel/taskstats.c')
0 files changed, 0 insertions, 0 deletions