diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-03-23 15:09:25 (GMT) |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-04-01 07:23:37 (GMT) |
commit | 50f0e3bc93d86d0df6805eb55c58302d27a5cfca (patch) | |
tree | 44f0088617a2559d458ad61244374a0c1a2a9dc2 /drivers/s390/char | |
parent | 02ba8d211d16f3b385147dd50d7198744e9af59c (diff) | |
download | linux-50f0e3bc93d86d0df6805eb55c58302d27a5cfca.tar.xz |
s390/tape: Add missing destroy_timer_on_stack()
Otherwise we leak a tracking object when DEBUG_OBJECTS is enabled.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/char')
-rw-r--r-- | drivers/s390/char/tape_std.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/char/tape_std.c b/drivers/s390/char/tape_std.c index cf577a2..3478e19 100644 --- a/drivers/s390/char/tape_std.c +++ b/drivers/s390/char/tape_std.c @@ -79,6 +79,7 @@ tape_std_assign(struct tape_device *device) rc = tape_do_io_interruptible(device, request); del_timer_sync(&timeout); + destroy_timer_on_stack(&timeout); if (rc != 0) { DBF_EVENT(3, "%08x: assign failed - device might be busy\n", |