diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-09-11 10:28:55 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-09-11 10:29:52 +0200 |
commit | 68d36bdbf6377d36129b2c6bcbe9d24c5fb1739a (patch) | |
tree | 6337a0eea07f6b0e777baec57adcb8e6dc76d107 /drivers | |
parent | [S390] hypfs: Use "%u" instead of "%d" for unsigned ints in snprintf (diff) | |
download | linux-68d36bdbf6377d36129b2c6bcbe9d24c5fb1739a.tar.xz linux-68d36bdbf6377d36129b2c6bcbe9d24c5fb1739a.zip |
[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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/s390/char/tape_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/char/tape_core.c b/drivers/s390/char/tape_core.c index 1d420d947596..7424d648e81f 100644 --- a/drivers/s390/char/tape_core.c +++ b/drivers/s390/char/tape_core.c @@ -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; |