Message ID | 20180409064044.1699-1-lufq.fnst@cn.fujitsu.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Mon, Apr 09, 2018 at 02:40:44PM +0800, Lu Fengqi wrote: > Since the out label has been deleted, this free_extent_buffer will never > be executed. > > Fixes: f37ae8d275c2 ("btrfs-progs: print-tree: Enhance warning on tree block level mismatch and error handling") > Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com> Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/print-tree.c b/print-tree.c index a2f6bfc027c9..44e9b40a9874 100644 --- a/print-tree.c +++ b/print-tree.c @@ -1416,6 +1416,4 @@ void btrfs_print_tree(struct btrfs_root *root, struct extent_buffer *eb, int fol } return; - - free_extent_buffer(next); }
Since the out label has been deleted, this free_extent_buffer will never be executed. Fixes: f37ae8d275c2 ("btrfs-progs: print-tree: Enhance warning on tree block level mismatch and error handling") Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com> --- print-tree.c | 2 -- 1 file changed, 2 deletions(-)