mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
[S390] tape: reversed order of labels
Fix the order of goto labels in tape_generic_online. Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
This commit is contained in:
parent
ad2a5d8e0b
commit
68d36bdbf6
1 changed files with 2 additions and 2 deletions
|
@ -358,11 +358,11 @@ tape_generic_online(struct tape_device *device,
|
|||
|
||||
out_char:
|
||||
tapechar_cleanup_device(device);
|
||||
out_minor:
|
||||
tape_remove_minor(device);
|
||||
out_discipline:
|
||||
device->discipline->cleanup_device(device);
|
||||
device->discipline = NULL;
|
||||
out_minor:
|
||||
tape_remove_minor(device);
|
||||
out:
|
||||
module_put(discipline->owner);
|
||||
return rc;
|
||||
|
|
Loading…
Reference in a new issue