projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad2a5d8
)
[S390] tape: reversed order of labels
author
Roel Kluin
<roel.kluin@gmail.com>
Fri, 11 Sep 2009 08:28:55 +0000
(10:28 +0200)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Fri, 11 Sep 2009 08:29:52 +0000
(10:29 +0200)
Fix the order of goto labels in tape_generic_online.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
drivers/s390/char/tape_core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/s390/char/tape_core.c
b/drivers/s390/char/tape_core.c
index 1d420d9475961719ecd625a5fab7c06f5a2713bd..7424d648e81f1d4f04b60b6727365ad10c11dd7c 100644
(file)
--- 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;