Skip to content

Commit

Permalink
[S390] tape: reversed order of labels
Browse files Browse the repository at this point in the history
Fix the order of goto labels in tape_generic_online.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
  • Loading branch information
Roel Kluin authored and Martin Schwidefsky committed Sep 11, 2009
1 parent ad2a5d8 commit 68d36bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/s390/char/tape_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 68d36bd

Please sign in to comment.