Commit 7f09699
btrfs: deduplicate log root free in error paths from btrfs_recover_log_trees()
Instead of duplicating the dropping of a log tree in case we jump to the
'error' label, move the dropping under the 'error' label and get rid of the
the unnecessary setting of the log root to NULL since we return immediately
after.
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>1 parent efa44fc commit 7f09699
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7491 | 7491 | | |
7492 | 7492 | | |
7493 | 7493 | | |
7494 | | - | |
7495 | | - | |
7496 | 7494 | | |
7497 | 7495 | | |
7498 | 7496 | | |
| |||
7510 | 7508 | | |
7511 | 7509 | | |
7512 | 7510 | | |
7513 | | - | |
7514 | | - | |
7515 | 7511 | | |
7516 | 7512 | | |
7517 | 7513 | | |
| |||
7597 | 7593 | | |
7598 | 7594 | | |
7599 | 7595 | | |
| 7596 | + | |
7600 | 7597 | | |
7601 | 7598 | | |
7602 | 7599 | | |
| |||
0 commit comments