From 707ecc39645e3a90ac53db7154a98f086a373125 Mon Sep 17 00:00:00 2001 From: Josef Bacik Date: Tue, 23 Apr 2013 11:08:33 -0400 Subject: [PATCH] --- yaml --- r: 374891 b: refs/heads/master c: 5ec8dca7617b77afb0e3c7e6271089172b498546 h: refs/heads/master i: 374889: 79264be54cbd6a9cc25c9b873362f86b08cc16de 374887: 484abd613060decc1700181cf095d1dae9709a24 v: v3 --- [refs] | 2 +- trunk/fs/btrfs/tree-log.c | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/[refs] b/[refs] index 630b89c8db13..c9abb2a8515d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: fb7669b5a0695922a9813bb103303db3d7c79c8d +refs/heads/master: 5ec8dca7617b77afb0e3c7e6271089172b498546 diff --git a/trunk/fs/btrfs/tree-log.c b/trunk/fs/btrfs/tree-log.c index 52287ec2a4d2..1fdc221a9c0b 100644 --- a/trunk/fs/btrfs/tree-log.c +++ b/trunk/fs/btrfs/tree-log.c @@ -2161,7 +2161,6 @@ static int walk_log_tree(struct btrfs_trans_handle *trans, int wret; int level; struct btrfs_path *path; - int i; int orig_level; path = btrfs_alloc_path(); @@ -2218,12 +2217,6 @@ static int walk_log_tree(struct btrfs_trans_handle *trans, } out: - for (i = 0; i <= orig_level; i++) { - if (path->nodes[i]) { - free_extent_buffer(path->nodes[i]); - path->nodes[i] = NULL; - } - } btrfs_free_path(path); return ret; }