Skip to contentSkip to conversation

Btrfs-progs: add missing path release

PATCH New Filipe David Borba Manana 1 participant 1 message Jul 9, 2013 Btrfs file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Btrfs-progs: add missing path release

Before repeating the search in extent-tree.c:lookup_inline_extent_backref(), release the current path.

---
 extent-tree.c |    1 +
 1 file changed, 1 insertion(+)
extent-tree.c +1 -0
index f597e16..ba357de 100644
@@ -1064,6 +1064,7 @@ again:
 		if (ret) {
 			key.type = BTRFS_EXTENT_ITEM_KEY;
 			key.offset = num_bytes;
+			btrfs_release_path(root, path);
 			goto again;
 		}
 	}
Signature · 1 line
1.7.9.5