projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f37c563
)
btrfs: raid56: remove out label in __raid56_parity_recover
author
Nikolay Borisov
<nborisov@suse.com>
Wed, 15 Jul 2020 11:02:17 +0000
(14:02 +0300)
committer
David Sterba
<dsterba@suse.com>
Mon, 27 Jul 2020 10:55:44 +0000
(12:55 +0200)
There's no cleanup that occurs so we can simply return 0 directly.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/raid56.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/raid56.c
b/fs/btrfs/raid56.c
index
61ff773
..
255490f
100644
(file)
--- a/
fs/btrfs/raid56.c
+++ b/
fs/btrfs/raid56.c
@@
-2083,7
+2083,7
@@
static int __raid56_parity_recover(struct btrfs_raid_bio *rbio)
*/
if (atomic_read(&rbio->error) <= rbio->bbio->max_errors) {
__raid_recover_end_io(rbio);
-
goto out
;
+
return 0
;
} else {
goto cleanup;
}
@@
-2103,7
+2103,7
@@
static int __raid56_parity_recover(struct btrfs_raid_bio *rbio)
submit_bio(bio);
}
-out:
+
return 0;
cleanup: