|
@@ -137,7 +137,6 @@ static void btrfs_free_dummy_fs_info(struct btrfs_fs_info *fs_info)
|
|
|
void **slot;
|
|
|
|
|
|
spin_lock(&fs_info->buffer_lock);
|
|
|
-restart:
|
|
|
radix_tree_for_each_slot(slot, &fs_info->buffer_radix, &iter, 0) {
|
|
|
struct extent_buffer *eb;
|
|
|
|
|
@@ -147,7 +146,7 @@ restart:
|
|
|
/* Shouldn't happen but that kind of thinking creates CVE's */
|
|
|
if (radix_tree_exception(eb)) {
|
|
|
if (radix_tree_deref_retry(eb))
|
|
|
- goto restart;
|
|
|
+ slot = radix_tree_iter_retry(&iter);
|
|
|
continue;
|
|
|
}
|
|
|
spin_unlock(&fs_info->buffer_lock);
|