diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-09-11 04:28:55 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-09-11 04:29:52 -0400 |
commit | 68d36bdbf6377d36129b2c6bcbe9d24c5fb1739a (patch) | |
tree | 6337a0eea07f6b0e777baec57adcb8e6dc76d107 /drivers/s390 | |
parent | ad2a5d8e0b518f997af126dd737127bdada90a6f (diff) |
[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/s390')
-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, | |||
358 | 358 | ||
359 | out_char: | 359 | out_char: |
360 | tapechar_cleanup_device(device); | 360 | tapechar_cleanup_device(device); |
361 | out_minor: | ||
362 | tape_remove_minor(device); | ||
361 | out_discipline: | 363 | out_discipline: |
362 | device->discipline->cleanup_device(device); | 364 | device->discipline->cleanup_device(device); |
363 | device->discipline = NULL; | 365 | device->discipline = NULL; |
364 | out_minor: | ||
365 | tape_remove_minor(device); | ||
366 | out: | 366 | out: |
367 | module_put(discipline->owner); | 367 | module_put(discipline->owner); |
368 | return rc; | 368 | return rc; |