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; }