aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-defrag.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/tree-defrag.c')
-rw-r--r--fs/btrfs/tree-defrag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/tree-defrag.c b/fs/btrfs/tree-defrag.c
index d23216aa4ab5..0d1a1be0995c 100644
--- a/fs/btrfs/tree-defrag.c
+++ b/fs/btrfs/tree-defrag.c
@@ -239,7 +239,7 @@ int btrfs_defrag_leaves(struct btrfs_trans_handle *trans,
239 for (i = 0; i <= orig_level; i++) { 239 for (i = 0; i <= orig_level; i++) {
240 if (path->nodes[i]) { 240 if (path->nodes[i]) {
241 free_extent_buffer(path->nodes[i]); 241 free_extent_buffer(path->nodes[i]);
242 path->nodes[i] = 0; 242 path->nodes[i] = NULL;
243 } 243 }
244 } 244 }
245out: 245out: