提交 68d36bdb 编写于 作者: R Roel Kluin 提交者: Martin Schwidefsky

[S390] tape: reversed order of labels

Fix the order of goto labels in tape_generic_online.
Signed-off-by: NRoel Kluin <roel.kluin@gmail.com>
上级 ad2a5d8e
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册