Commit 68d36bdb authored by Roel Kluin's avatar Roel Kluin Committed by Martin Schwidefsky

[S390] tape: reversed order of labels

Fix the order of goto labels in tape_generic_online.
Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
parent ad2a5d8e
...@@ -358,11 +358,11 @@ tape_generic_online(struct tape_device *device, ...@@ -358,11 +358,11 @@ tape_generic_online(struct tape_device *device,
out_char: out_char:
tapechar_cleanup_device(device); tapechar_cleanup_device(device);
out_minor:
tape_remove_minor(device);
out_discipline: out_discipline:
device->discipline->cleanup_device(device); device->discipline->cleanup_device(device);
device->discipline = NULL; device->discipline = NULL;
out_minor:
tape_remove_minor(device);
out: out:
module_put(discipline->owner); module_put(discipline->owner);
return rc; return rc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment