forked from Mirrors/btrfs-progs
btrfs-progs: Remove the dead branch in btrfs_run_delayed_refs()
cleanup_ref_head() will only return 0 or 1, no way to return a negative value. So remove the dead branch. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>master
parent
3fe16a10da
commit
27a5b9ddc3
|
@ -4235,8 +4235,6 @@ int btrfs_run_delayed_refs(struct btrfs_trans_handle *trans, unsigned long nr)
|
|||
/* We dropped our lock, we need to loop. */
|
||||
ret = 0;
|
||||
continue;
|
||||
} else if (ret) {
|
||||
return ret;
|
||||
}
|
||||
locked_ref = NULL;
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue