mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
s390/tape: Add missing destroy_timer_on_stack()
Otherwise we leak a tracking object when DEBUG_OBJECTS is enabled. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
This commit is contained in:
parent
02ba8d211d
commit
50f0e3bc93
1 changed files with 1 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue